From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3777A3850857; Sat, 4 Jun 2022 16:59:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3777A3850857 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/27000] gdb.block_for_pc should accept a gdb.Value argument Date: Sat, 04 Jun 2022 16:59:52 +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: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on everconfirmed bug_status 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2022 16:59:52 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27000 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-06-04 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #3 from Tom Tromey --- (In reply to Tom Tromey from comment #2) > We should probably audit all uses of PyArg_ParseTuple with > GDB_PY_LLU_ARG and change them all to accept a Value as well. > Though... I wonder if there's some more built-in way to do this,=20 > like a special method. I looked and, although 'nb_int' exists, gdb already sets this and PyArg_ParseTuple doesn't seem to use it. Seems like --=20 You are receiving this mail because: You are on the CC list for the bug.=