Commit 719f8287 authored by Robert Schmidt's avatar Robert Schmidt

Don't redirect stack trace to file

parent b112282e
...@@ -33,9 +33,8 @@ ...@@ -33,9 +33,8 @@
#define _Assert_Exit_ \ #define _Assert_Exit_ \
if (getenv("gdbStacks")) { \ if (getenv("gdbStacks")) { \
char tmp [1000]; \ char tmp [1000]; \
sprintf(tmp,"gdb -ex='set confirm off' -ex 'thread apply all bt' -ex q -p %d < /dev/null", \ sprintf(tmp,"gdb -ex='set confirm off' -ex 'thread apply all bt' -ex q -p %d < /dev/null", getpid()); \
getpid(), getpid()); \ __attribute__((unused)) int dummy=system(tmp); \
(void) system(tmp); \
} \ } \
fprintf(stderr, "\nExiting execution\n"); \ fprintf(stderr, "\nExiting execution\n"); \
fflush(stdout); \ fflush(stdout); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment