From nobody Mon Nov 13 15:20:20 2023 X-Original-To: dev-commits-src-all@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 4STY5c5TTKz515m0; Mon, 13 Nov 2023 15:20:20 +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 4STY5c3q4nz3T1X; Mon, 13 Nov 2023 15:20:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699888820; 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=bW07iWwN1/skoCyP4fCccXznKMPOsDlKIOpfxUQ7BP0=; b=NbwY6qdKlmiPVKpcTQK9u9rVRpVZXHeqzfPD/Z9oeBg6KQzGOKqYupseWcqsLujE8Qes0a a7qjWleEsnViqsMBhvgk/Tp2BdWi2Ym97ZvIP9hBFCA4Z3RMao6vM++2MJw1RGEVjsZw3E MMkvD+mEYJhNhNUpTmwGr3EN9+/cx9jLphOJGkzjwtsPihyWoUpHNrJj/CTeXQ8KmXH2Li Z8MCcca0DJhWerohWSZd24j8A2imaeiOH8xKJ5ziVdFXQmqxznJreiKozs8hFxkujx9Fwx KGsV36Q/I8yxv3bDvBbMbM0m6PdSQz9v8VwM92elsA/oQM1HTqtE0bvvX2gP9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699888820; 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=bW07iWwN1/skoCyP4fCccXznKMPOsDlKIOpfxUQ7BP0=; b=lDYSmMSIHhsFo28Y6ech/Hiq73hev20ed+jTctNS2mGzpEEZeLbTkzJp4cq2OZKe+iV9pP i86d8FhLthSk/G9YzCfutsxdZmfZmQ1DDK27ttJJSZf6FOZ/QdUEcRPlsuaDEPzgOEGLbe lUKLUTbVGKqGmFa+YR4kJkh2GuIJDf8Nh4aYTfcwIh0NwF2j9YOp1V50wKoclqSYEOr0bM me2W26OT2sPGYvplQ/KLDw6k5Ngl7lw9o9JA9BxScHJr5Xzi2wwx3dqznH+55Utk47/ZT3 3hViPniIdRfpb8z17yUkdHdyNV4Yz3rxBUNClF2BoIcE6gPg8q86QP5jCnNFbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699888820; a=rsa-sha256; cv=none; b=aHukXdcNUxUO4JD9Ieo8cyL0MupkjhDdnwQaGhp3pCXQK1hgxK/XkJbBcZvz4ZjENE07SR Xo6dNHWPb1o/jS4Vj4mkiRcNnVbQPKncWrxSZ/xFC16a+XBSup6dd/pEsA+pTQ/NF1O8qU vJFzcPxEYdzY2a4T7Qkxwm4IB4R1CYEhQccDPlGxEzB/ao/7ham9THaziBTNX1pWSUO/Cv HAVL0tuSpDYpO93RQFYK+0My+T5hxATrUP1tyF6gXSNholPrkhdCEpyQotWeU6AR0Msh1+ XzMUnTIM/BF+fzSstOQDTq2sW5EclSZFXvv/NvPjWQT0xcPQIrlt7+BHmf5uNA== 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 4STY5c2vqYz19KL; Mon, 13 Nov 2023 15:20:20 +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 3ADFKKCw052405; Mon, 13 Nov 2023 15:20:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ADFKKLp052402; Mon, 13 Nov 2023 15:20:20 GMT (envelope-from git) Date: Mon, 13 Nov 2023 15:20:20 GMT Message-Id: <202311131520.3ADFKKLp052402@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 95ddbac6d339 - stable/14 - crashinfo: Get local variable values in the gdb backtrace List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 95ddbac6d3390c2c722a7baf900f2dae10e91543 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=95ddbac6d3390c2c722a7baf900f2dae10e91543 commit 95ddbac6d3390c2c722a7baf900f2dae10e91543 Author: Mark Johnston AuthorDate: 2023-11-06 19:59:10 +0000 Commit: Mark Johnston CommitDate: 2023-11-13 14:41:44 +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