From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A4DDB385840F; Fri, 24 Feb 2023 17:04:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A4DDB385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677258242; bh=DKgRZDxSxWcQLbvZwJM3jMHW7nw4X9eU2QLaCYcf1gM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ArG4DF0MBdrcRU+WKC1/EFpgaDlN4GbkHGDAJ+qa7oVOXKg6sunc5xcd/kLDjBvrt pNXvgzaaBVKP4vEi/mK7zR+E1vHE1MP89VFJkUjQOf9ST6DW2UaaN8Ixy/sfa/gyQ0 2zEBaUgSmE/e8/GvhhnYN94CHqE/PB80JKGdT/Cs= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/30158] rustc testsuite fails with 13.1, apparently worked before with trunk 20230114 on i686-linux-gnu and powerpc64le-linux-gnu Date: Fri, 24 Feb 2023 17:04:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: 13.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: 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=3D30158 --- Comment #6 from Tom Tromey --- rustc decides to emit both: <2><2f5b>: Abbrev Number: 10 (DW_TAG_subprogram) ... <2f6e> DW_AT_name : (indirect string, offset: 0x23a): main and <2><2f95>: Abbrev Number: 2 (DW_TAG_namespace) <2f96> DW_AT_name : (indirect string, offset: 0x23a): main in the same scope. Then the lookup finds the wrong one, because gdb's symbol tables are bad and still follow C namespace rules. --=20 You are receiving this mail because: You are on the CC list for the bug.=