From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 20403385B50D; Sat, 22 Jun 2024 00:24:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 20403385B50D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1719015880; bh=QcFD0RFNBxJxBtip9N/ehbu0KFzzpdMUg/roEWlsA+w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ox059d20x9yDZQII2CMGta4+VRLi0m9mQgIBZ2sscbjAiIAQ/0YuIlW6WciVjlnRJ cZ5Z9A28wIs+N+8KhpGQ2WVgaoaN+v139HnbI8/m+keYPRxVDWFaOLndc7rJ3n6P7U EqV8z6X5lfg/6SHPZprLPUtCHTLFekoSQ03R0b5U= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/11482] Side effect of set print address on python API Date: Sat, 22 Jun 2024 00:24:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: pmuldoon at redhat dot com X-Bugzilla-Target-Milestone: 7.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D11482 --- Comment #27 from Hannes Domani --- (In reply to Tom Tromey from comment #25) > I do think we need some way to convert a Value to its underlying bits, > either by letting Python treat Value as a buffer, or by having a method > to return a buffer. This is now possible with gdb.Value.bytes. Plus the aforementioned methods to get either a pointer value with long/int= , or a string representation regardless of 'set print address' with 'Value.format_string(address=3DTrue)', is this enough to close this ticket? --=20 You are receiving this mail because: You are on the CC list for the bug.=