From cfeb0626ccc6f335d95089bf6c4f7baecdce9c8a Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 27 Oct 2022 18:42:07 +0200 Subject: Added BOX64_SHOWBT env. var. to have a backtrace on segfault --- src/include/debug.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/debug.h') diff --git a/src/include/debug.h b/src/include/debug.h index 4efcc7bb..c03fc0b0 100755 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -47,6 +47,7 @@ extern int box64_nopulse; // disabling the use of wrapped pulseaudio extern int box64_nogtk; // disabling the use of wrapped gtk extern int box64_novulkan; // disabling the use of wrapped vulkan extern int box64_showsegv; // show sigv, even if a signal handler is present +extern int box64_showbt; // show a backtrace if a signal is caught extern uintptr_t fmod_smc_start, fmod_smc_end; // to handle libfmod (from Unreal) SMC (self modifying code) extern uint32_t default_gs; extern int jit_gdb; // launch gdb when a segfault is trapped -- cgit 1.4.1