--- qsampler/trunk/src/qsampler.cpp 2010/10/06 18:49:54 2144 +++ qsampler/trunk/src/qsampler.cpp 2011/06/05 10:21:53 2181 @@ -270,7 +270,8 @@ signal(signo, SIG_DFL); static const char *shell = "/bin/sh"; - static const char *format = "gdb -q --batch --pid=%d --eval-command=bt"; + static const char *format = "gdb -q --batch --pid=%d" + " --eval-command='thread apply all bt'"; snprintf(cmd, sizeof(cmd), format, (int) getpid());