Report backtraces for all threads.
This commit is contained in:
parent
3c1b0a5a67
commit
54a918bbfb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue