From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DAFD73858C5E; Mon, 27 Mar 2023 15:05:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAFD73858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679929529; bh=tlnxTJKG6gnI24DEwyF8diVCg/j9nJdvb6qh+cV+Gpo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=okM0jmpVjeaOYY0EwkG0nGwkbQw9rwEquwQYUk/Cmb4fn9Evw6hg9gZHJwxz9XiUz oQOf2i/OjglYI7wTDMG+xxBYBxgpPiQBHGL2BwO4h4PzeFHQ9psnBw14hMdQh0ypyF 1aDSlLtkVPCr1rEnbKb6TdxOFl2Nwj5sbwg+iCKg= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30276] [gdb/symtab] function name is _Dmain instead of "D main" Date: Mon, 27 Mar 2023 15:05:29 +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: HEAD 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=3D30276 --- Comment #6 from Tom Tromey --- It's hard to untangle the naming mess in the DWARF reader. If demangling really has to be done (IMO it does not, except for Ada), then it has to be done via the per-language demangler. Otherwise you get clashes. The new indexer uses a much simpler scheme for building names and I think the full reader should do the same. --=20 You are receiving this mail because: You are on the CC list for the bug.=