Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2023 15:21:15 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e26e6a98d4b9 - stable/13 - crashinfo: Get local variable values in the gdb backtrace
Message-ID:  <202311131521.3ADFLFfk053938@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=e26e6a98d4b974c5b950fdaa7df0d208e7dd4b39

commit e26e6a98d4b974c5b950fdaa7df0d208e7dd4b39
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-11-06 19:59:10 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-11-13 15:20:50 +0000

    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
    
    (cherry picked from commit 3e356fb885f6a742c496cefd71d8d33564de542a)
---
 usr.sbin/crashinfo/crashinfo.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/crashinfo/crashinfo.sh b/usr.sbin/crashinfo/crashinfo.sh
index 8a6981ba883c..92c843a86144 100755
--- a/usr.sbin/crashinfo/crashinfo.sh
+++ b/usr.sbin/crashinfo/crashinfo.sh
@@ -236,7 +236,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311131521.3ADFLFfk053938>