Parent Directory | Revision Log | Patch
revision 2144 by persson, Wed Oct 6 18:49:54 2010 UTC | revision 2181 by capela, Sun Jun 5 10:21:53 2011 UTC | |
---|---|---|
# | Line 270 void stacktrace ( int signo ) | Line 270 void stacktrace ( int signo ) |
270 | signal(signo, SIG_DFL); | signal(signo, SIG_DFL); |
271 | ||
272 | static const char *shell = "/bin/sh"; | static const char *shell = "/bin/sh"; |
273 | static const char *format = "gdb -q --batch --pid=%d --eval-command=bt"; | static const char *format = "gdb -q --batch --pid=%d" |
274 | " --eval-command='thread apply all bt'"; | |
275 | ||
276 | snprintf(cmd, sizeof(cmd), format, (int) getpid()); | snprintf(cmd, sizeof(cmd), format, (int) getpid()); |
277 |
|
ViewVC Help | |
Powered by ViewVC |