From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1EDF43858419; Sun, 28 Jan 2024 23:45:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1EDF43858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706485525; bh=xikHK24k9Lg9OKBWP1ZvVSeyAPSx1G/BErXdYk1p4bE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RmOujF+n8uB/ECA+RbakfOegXvwFz43ixW8I8qP01tNcvBrdgwoYCLbnySpF29808 SgAEQIXcA/ujNLX6L7M5+2YVhK1Z1hJL4+wJub0omlUhxmYmqeieyifPoWvWd/+a4y dhdNYN0hxQg/Yfo1Yrx78YulwOIwYt9V4s4Qo7C8= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug python/24870] gdb.lookup_type fails if a name is both a type and a variable Date: Sun, 28 Jan 2024 23:45:24 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- 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=3D24870 --- Comment #2 from Sourceware Commits --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D9edce54e75b1= 19e40d18a4564cd65cd747802c9c commit 9edce54e75b119e40d18a4564cd65cd747802c9c Author: Tom Tromey Date: Tue Sep 19 17:46:38 2023 -0600 Only search types in lookup_typename This changes lookup_typename to only look for types. The check for LOC_TYPEDEF can now also be removed, because only types will appear in TYPE_DOMAIN. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D24870 --=20 You are receiving this mail because: You are on the CC list for the bug.=