From nobody Mon Nov 06 20:09:28 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SPMrS5llQz4yxJ7; Mon, 6 Nov 2023 20:09:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SPMrS5B0kz3NjK; Mon, 6 Nov 2023 20:09:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699301368; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KnK3pLQ4VsSOiP7IEAl9x1jX+YXexeUFCrbmA6VWRzM=; b=YfRQ6yN+aYJIhjAhBb5jEFEjlWc4doJEbKg4d4CtqVNkyRrg/Wdq86e74EZoSfcFHPQYtj jH+tf0zLTO0GtTuAo22z5FM1AU9B5WX3G2oBf/v+QJnE5x+RzRQSAAL6ffiT6TOkCxF30b 6c2VQOWP2KaTGa6bXIJHv8WU3WmtVXFOcunlBB+C0PMSMMdC5x0QrOmgkf/dmgjciy12fl XuFWOF/HraV5JRNiLjVWz9rLSSKNpemHok7KWt7K4bozww6/ByGlNTy1uBkHJUIOPSIx3b 9v9FRi07nRB20hRZm4d+CAFcgcTiPdUq4Lqai0lpiMEjsmyUu330+QVqgihsGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699301368; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KnK3pLQ4VsSOiP7IEAl9x1jX+YXexeUFCrbmA6VWRzM=; b=R0+Awku14o2gzQ2YuoIlBbVPe/lZ286e9vqolg9Lg85SpY0jZHJKGnoexBnRHPl4snV6f4 1ejrZEbqo/aIEf3Mvg2fN4QpkLmrUpGa9Ci08ocLrsyF+lZhNQdUKRZqEKQkQulF8xXgVD FWx+PuPlkx4b8CvD0u7UH4umgBNAaptTb09vTsUthIdXgdKOCfSaSuiD6Os8MzppXW/0SL FJ7NtPTOAY+/euLrtw/7nFi22DkD8mT10qINHG5IYiR5YijxKaiIBkZUV0WfgnObYsQx3q qPAQXPdf2dFMzheP3hfE4TT57NDr/9PPuq33y042bdKJoGX8+7sBvwHSXnR7Fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699301368; a=rsa-sha256; cv=none; b=pfeFbx3Z2C9Ti/SudVFOUyE/e2lcER9SiyQbQqqlNzJr+mGuZxQMj1UIwQkJef9U2Us4Az BbinfMxvE+lE8pDvJ7NFqUk6XUWUdkjlL6BC6ebeFZQAP2RmGmBOUVyj1Zb4zvt5UQdPbN 9UQAfqqoCAJlepQZPV6dq/dkO9a2bEQmLnA5IEYo+IZd3jxqg86pViIkYEBp6c1dlepKFE IFRHDerDLOZ8BHllquHAFMgvXMoEVM5qMolcIcpNw3jfDSZP7Pj3RIoidaQe+sI+gJRsPh 1GSphOGwyCsmafsXYgti8ZEgR0bOcf22DGAYqZQ0wBWz7FhUuASHAd5KTeXP0Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SPMrS47rtz5v1; Mon, 6 Nov 2023 20:09:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A6K9SQG094719; Mon, 6 Nov 2023 20:09:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A6K9SHY094716; Mon, 6 Nov 2023 20:09:28 GMT (envelope-from git) Date: Mon, 6 Nov 2023 20:09:28 GMT Message-Id: <202311062009.3A6K9SHY094716@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 3e356fb885f6 - main - crashinfo: Get local variable values in the gdb backtrace List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3e356fb885f6a742c496cefd71d8d33564de542a Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=3e356fb885f6a742c496cefd71d8d33564de542a commit 3e356fb885f6a742c496cefd71d8d33564de542a Author: Mark Johnston AuthorDate: 2023-11-06 19:59:10 +0000 Commit: Mark Johnston CommitDate: 2023-11-06 19:59:10 +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 --- 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 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