aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/crashinfo
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2023-11-06 19:59:10 +0000
committerMark Johnston <markj@FreeBSD.org>2023-11-06 19:59:10 +0000
commit3e356fb885f6a742c496cefd71d8d33564de542a (patch)
tree251cf4a865e17e7bb898bddb548a255503cd0b5b /usr.sbin/crashinfo
parent725962a9f4c050b21488edd58d317e87c76d6f66 (diff)
downloadsrc-3e356fb885f6a742c496cefd71d8d33564de542a.tar.gz
src-3e356fb885f6a742c496cefd71d8d33564de542a.zip
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
Diffstat (limited to 'usr.sbin/crashinfo')
-rwxr-xr-xusr.sbin/crashinfo/crashinfo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/crashinfo/crashinfo.sh b/usr.sbin/crashinfo/crashinfo.sh
index 0482d41804f2..9a3d26020654 100755
--- a/usr.sbin/crashinfo/crashinfo.sh
+++ b/usr.sbin/crashinfo/crashinfo.sh
@@ -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