From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E92B3396ECCD; Fri, 8 May 2020 16:04:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E92B3396ECCD From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/25953] New: [debug-names] Support multiple per-CU indices Date: Fri, 08 May 2020 16:04:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Fri, 08 May 2020 16:04:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25953 Bug ID: 25953 Summary: [debug-names] Support multiple per-CU indices Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider the following two-file test-case: ... $ cat main.c extern void foo (void); int main (void) { foo (); return 0; } $ cat foo.c void foo (void) { } ... Compiled like this: ... $ clang-10 main.c foo.c -gdwarf-5 -gpubnames ... When running the exec with gdb, we have: ... $ gdb -batch a.out warning: Section .debug_names in /data/gdb_versions/devel/a.out length 112 = does not match section length 192, ignoring .debug_names. ... --=20 You are receiving this mail because: You are on the CC list for the bug.=