about summary refs log tree commit diff stats
path: root/src/include/debug.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-10-27 18:42:07 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-10-27 18:42:07 +0200
commitcfeb0626ccc6f335d95089bf6c4f7baecdce9c8a (patch)
tree27bb96cf9e28c9fb26749f7ae132925338565d66 /src/include/debug.h
parent3f2c4ed7943ac0985608e332948b40d873cc741c (diff)
downloadbox64-cfeb0626ccc6f335d95089bf6c4f7baecdce9c8a.tar.gz
box64-cfeb0626ccc6f335d95089bf6c4f7baecdce9c8a.zip
Added BOX64_SHOWBT env. var. to have a backtrace on segfault
Diffstat (limited to 'src/include/debug.h')
-rwxr-xr-xsrc/include/debug.h1
1 files changed, 1 insertions, 0 deletions
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