From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 847053858D33; Mon, 23 Jan 2023 19:52:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 847053858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674503576; bh=UGHYXVlS7G7p5Zarq2rH+MWXVkNjnPIHs38Sd6DGzEQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hWqeGomSv8WWyZ+M/jIepn7KJBHVyKKsjsEVdF/zzrG42d+ShrrAunZsYpE/pjc86 qF/nV5BIg/rTV6uGReNI1nAKgFP87+ipvDa2JOm7Xft2lYSnN+rdQr7WYfvkWSXKKt uzHqbAx6eslPL+5LwEjstcK43JdQG6iMYP+bC/Bw= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/24820] .debug_names has incorrect contents Date: Mon, 23 Jan 2023 19:52:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: unknown 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: 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=3D24820 --- Comment #4 from Tom Tromey --- Aaron's comment here is worth noting: https://sourceware.org/pipermail/gdb-patches/2023-January/195718.html In the case of libxul, the combined size of its .debug_names, .debug_str= and .debug_aranges is about 72% larger than the size of its .gdb_index (690 = MB vs. 400 MB). At least for this library we are much better off sticking = with .gdb_index. Even if we fix .debug_names generation, it's likely to be larger than .gdb_index. I wonder if we should just abandon .debug_names and instead upgrade .gdb_index to work more like the cooked index. --=20 You are receiving this mail because: You are on the CC list for the bug.=