mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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