From 22f25a9e4feddbc093ae01cd53bdda3c2c3a82e9 Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Fri, 15 Jan 2021 20:39:45 +0000 Subject: Print stack trace on assert() failure or when calling fatal_error() Note: this uses the __sanitizer_print_stack_trace() function from the AddressSanitizer runtime, so it only works when AddressSanitizer is in use. --- terminal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index 04d2d5b7..6f1ba1c1 100644 --- a/terminal.h +++ b/terminal.h @@ -12,6 +12,7 @@ #include //#include "config.h" +#include "debug.h" #include "fdm.h" #include "macros.h" #include "reaper.h" -- cgit v1.3