From nobody Wed Apr 03 16:18:26 2024 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 4V8qg669b3z5FL7g; Wed, 3 Apr 2024 16:18:26 +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 4V8qg64yMGz4pNf; Wed, 3 Apr 2024 16:18:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712161106; 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=2IsCQGfQcpEW45f2+ffdT8qi3wdUjkqV3iNKytbdW9c=; b=pTRIAR1egmlvm+2ZcstZsekAkhRSjOkLQ5SfTWxwjrcY3miViX/EOhs5vMmDG2+KeeTx0S YiM/TTKVa3LnQCnpLvGhjUlxAlrvrWBh76jR47Y0Ces0SU7PgYktXnRRuMHv2RP+qzrCsJ T30yuvv2OOc+PKf9XBVzXG2Jxa6iZ+oBlIwRqgj0DfDQV62CVRl1R9Pj7spX/dUeDGAL2U p1b98/WPFEF68AIUpmYU0WwwIyUyCu4PsfxBNN/+izUf96/9OQNMjitM4gFxHCERRJL3SE x5Wqf/tBWtvnKvosQz8oJy08laRxVLZSVZMFLOkageam2Vsyu6/4OjrqKL96vA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712161106; a=rsa-sha256; cv=none; b=WoDWI0dnkWo3YDB589EggKL6+dIb5DD6iGxAm1fJvYibdaCP1xaFGbVna9Ys2HQGIiL0Ft NsXz2uBDzE6xIF7BfOcdAwZhDBwDYZ3Oe0JNQiWi6Cd592wFH/w/mzVDcyVrB2S0ucn0fd bLWUUuw5J+gYR9eThFsnyvb3ZrkCpE7hJo5/CXd4vRCTcCXX2lbi8ZQUmVc4QACd/b/6PM mXNElUrZwycykhITiExDqv6NHo0zAxzAgY+LMoOUiGNxWrLy2/MHPi09wT8wbXRkg3s+OQ 8WQkRAePBPuPpAlKSbLIlVzr9m29NoEvJ2KVP1VtLUqnR7aQLIkwUqHH9+pykw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712161106; 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=2IsCQGfQcpEW45f2+ffdT8qi3wdUjkqV3iNKytbdW9c=; b=KuDZkKh8vhaf/niZoqL7KTHkgyFydWtkQFmMHbfdU007vOMUqzbVAIabdJKUgPaD1tB+m4 3NKcG560aEFKnegw/fTpOTC+7TdXxPrpKYE0IveYaMzZNCTyNK53EPSVbDEWhJFMEHwRwr l7smDJ8tTnGk/w6S7DX6eRUkaseJ0wI8r776hxox+sOXeWPrwQxRTfX5wMvezDyvwSYW5A Bne1JeK/+xA2WmAAWPKVtOAkghi+B5nKC7dEJQy2Dkcss0tpKvHOFBWjJSfUAlSEJhnPPq kS/Yya2gfPj2/P8ajuC15P2dmKi+ptrIeRsTF14u7/WL9wGKoiE8lIEWPwVrLg== 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 4V8qg64ZLwzg2k; Wed, 3 Apr 2024 16:18:26 +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 433GIQp3096605; Wed, 3 Apr 2024 16:18:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 433GIQUx096602; Wed, 3 Apr 2024 16:18:26 GMT (envelope-from git) Date: Wed, 3 Apr 2024 16:18:26 GMT Message-Id: <202404031618.433GIQUx096602@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bojan =?utf-8?Q?Novkovi=C4=87?= Subject: git: 872c4402af13 - main - ddb: Don't throw away qualifier when pretty-printing unnamed pointers 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: bnovkov X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 872c4402af1325ed156d7f5ee2252dd36b016b5c Auto-Submitted: auto-generated The branch main has been updated by bnovkov: URL: https://cgit.FreeBSD.org/src/commit/?id=872c4402af1325ed156d7f5ee2252dd36b016b5c commit 872c4402af1325ed156d7f5ee2252dd36b016b5c Author: Bojan Novković AuthorDate: 2024-04-03 15:55:13 +0000 Commit: Bojan Novković CommitDate: 2024-04-03 16:17:54 +0000 ddb: Don't throw away qualifier when pretty-printing unnamed pointers Reported by: jrtc27 Fixes: c21bc6f ("ddb: Add CTF-based pretty printing") Approved by: markj (mentor) --- sys/ddb/db_pprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ddb/db_pprint.c b/sys/ddb/db_pprint.c index b4116372cf65..8e6759a03220 100644 --- a/sys/ddb/db_pprint.c +++ b/sys/ddb/db_pprint.c @@ -276,7 +276,7 @@ db_pprint_ptr(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) if (name != NULL) db_printf("(%s%s *) 0x%lx", qual, name, (long)val); else - db_printf("0x%lx", (long)val); + db_printf("(%s *) 0x%lx", qual, (long)val); } }