From 119b8d8b935dcc86983aaa0d80c1f5101df76c82 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 23 Oct 2009 00:56:41 +0000 Subject: [PATCH] disable gdb. toruble-maker. SVN revision: 43223 --- src/bin/e_signals.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/bin/e_signals.c b/src/bin/e_signals.c index 7098f163a..0d8182ab8 100644 --- a/src/bin/e_signals.c +++ b/src/bin/e_signals.c @@ -56,7 +56,15 @@ _e_gdb_print_backtrace(int fd) char cmd[1024]; size_t size; - if(getenv("E_NO_GDB_BACKTRACE")) + // FIXME: we are in a segv'd state. do as few function calls and things + // depending on a known working state as possible. this also prevents the + // white box allowing recovery or deeper gdbing, thus until this works + // properly, it's disabled (properly means always reliable, always + // printf bt and allows e to continue and pop up box, perferably allowing + // debugging in the gui etc. etc. + return; + + if (getenv("E_NO_GDB_BACKTRACE")) return; size = snprintf(cmd, sizeof(cmd),