summaryrefslogtreecommitdiff
path: root/src/command.c
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2000-02-01 06:01:25 +0000
committerMichael Jennings <mej@kainx.org>2000-02-01 06:01:25 +0000
commitdea5fcb0cc628bb21bf2a8fc459933baa1a5a7a7 (patch)
treeaa81b3a5aa1ad168c7833b7e638802fc1059a955 /src/command.c
parent51f6bf3fa7f65c820d79d4759b6c03865509ef00 (diff)
downloadeterm-dea5fcb0cc628bb21bf2a8fc459933baa1a5a7a7.tar.gz
Hopefully this fixes that hard-to-reproduce crash....
SVN revision: 2001
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index eb2f492..bcdee90 100644
--- a/src/command.c
+++ b/src/command.c
@@ -989,7 +989,7 @@ dump_stack_trace(void)
U_STACK_TRACE();
return;
#elif defined(GDB)
- snprintf(cmd, sizeof(cmd), "/bin/echo backtrace | " GDB " " APL_NAME " %d", getpid());
+ snprintf(cmd, sizeof(cmd), "/bin/echo '\n\nbacktrace' | " GDB " " APL_NAME " %d", getpid());
#elif defined(PSTACK)
snprintf(cmd, sizeof(cmd), PSTACK " %d", getpid());
#elif defined(DBX)