From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E9113858C50; Mon, 27 Mar 2023 11:30:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E9113858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679916619; bh=7tJQ8bI0eBLqXCIY+ERB2QxzpVCcGil2ZT76/2OKeqg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Wt/9/D9gnymwWxlAs1M+Gwt5SvoMZ2iwnJjZMBUps1P9eWiwQgmCG0j7I5D0DStqL SU5GnCewvo5Y6qplT44egiLZGJ6WStOt8x2Llp9itXAFFcyBXIgmRvXp/adkhyNI4X 3DNGR7He66ubEerheF5eYC79nz4ohyFBP26dxuUM= From: "vries at gcc dot gnu.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 11:30:19 +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: 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: 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 #3 from Tom de Vries --- FTR, I've also tried this: ... diff --git a/gdb/d-lang.c b/gdb/d-lang.c index 8d1bdd05677..53dcbab80b0 100644 --- a/gdb/d-lang.c +++ b/gdb/d-lang.c @@ -142,6 +142,11 @@ class d_language : public language_defn return d_demangle (mangled, options); } + bool store_sym_names_in_linkage_form_p () const override + { + return true; + } + /* See language.h. */ bool can_print_type_offsets () const override ... and that didn't work. --=20 You are receiving this mail because: You are on the CC list for the bug.=