forked from enlightenment/enlightenment
Make it possible to disable the auto gdb backtrace.
SVN revision: 42093
This commit is contained in:
parent
08f2c434e3
commit
c8e998c551
|
@ -56,6 +56,9 @@ _e_gdb_print_backtrace(int fd)
|
||||||
char cmd[1024];
|
char cmd[1024];
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
|
if(getenv("E_NO_GDB_BACKTRACE"))
|
||||||
|
return;
|
||||||
|
|
||||||
size = snprintf(cmd, sizeof(cmd),
|
size = snprintf(cmd, sizeof(cmd),
|
||||||
"gdb --pid=%d "
|
"gdb --pid=%d "
|
||||||
"-ex 'thread apply all bt' "
|
"-ex 'thread apply all bt' "
|
||||||
|
|
Loading…
Reference in New Issue