Report backtraces for all threads.

This commit is contained in:
Stephan Bergmann 2011-12-16 14:56:32 +01:00
parent 3c1b0a5a67
commit 54a918bbfb

View file

@ -44,7 +44,7 @@ then
echo "Found a core dump at ${COREFILE}"
echo "Stacktrace:"
GDBCOMMANDFILE=`mktemp`
echo "bt" > ${GDBCOMMANDFILE}
echo "thread apply all bt" > ${GDBCOMMANDFILE}
gdb -x $GDBCOMMANDFILE --batch ${OFFICEFILE}.bin ${COREFILE}
rm ${GDBCOMMANDFILE}
echo