mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
crashinfo: Get local variable values in the gdb backtrace
This should make crash reports a bit more useful without having to ask for additional information. Reviewed by: imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42465
This commit is contained in:
parent
725962a9f4
commit
3e356fb885
|
@ -219,7 +219,7 @@ echo
|
|||
# kgdb via stdin and have to use a temporary file instead.
|
||||
file=`mktemp /tmp/crashinfo.XXXXXX`
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "bt" >> $file
|
||||
echo "bt -full" >> $file
|
||||
echo "quit" >> $file
|
||||
${GDB%gdb}kgdb $KERNEL $VMCORE < $file
|
||||
rm -f $file
|
||||
|
|
Loading…
Reference in a new issue