summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--NEWS1
-rw-r--r--src/bin/e_sys_main.c3
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 86c6cff430..f49d0c8b03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2013-11-05 Tom Hacohen
+ * wsod: Fixed gdb hangs when generating backtraces.
+
2013-10-07 Mike Blumenkrantz
* removed "raise on focus" config option
diff --git a/NEWS b/NEWS
index dcb8ec5090..d06bd69bd9 100644
--- a/NEWS
+++ b/NEWS
@@ -234,3 +234,4 @@ Fixes:
* fixed bug where new files could not be created repeatedly
* fixed filemanager spring window closing when dragging from desktop
* fixed catching XWindow closes during DND operations on those windows
+ * wsod: Fixed gdb hangs when generating backtraces.
diff --git a/src/bin/e_sys_main.c b/src/bin/e_sys_main.c
index b48f1c08b6..edbb70da40 100644
--- a/src/bin/e_sys_main.c
+++ b/src/bin/e_sys_main.c
@@ -168,10 +168,11 @@ main(int argc,
snprintf(buffer, 4096,
"%s --pid=%i "
+ "-batch "
"-ex 'set logging file %s' "
"-ex 'set logging on' "
"-ex 'thread apply all backtrace full' "
- "-ex detach -ex quit > /dev/null 2> /dev/null",
+ "-ex detach &> /dev/null < /dev/zero",
cmd,
pid,
output ?: "e-output.txt");