From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 215C7385840F; Fri, 24 Feb 2023 17:30:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 215C7385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677259804; bh=cRXqslb8KrIIy4cI/NBcGIrVJZSZDdvL8nUcJt/gXJo=; h=From:To:Subject:Date:From; b=D7C6vB5yO6hUse9sUtsXNu5DQbPfaGTPbLrr9Cqiu/xQO/yO1HxLzz/Eu0ELP3wCZ UD6kRFSNCY0KWIVJQJmUkOGvc078HE06fPpmPYEMLcjd3k+ZExumLDcckuBUdnodVL q2ISSHjDccJ07r2NwOLgtA/Juvn3zOVLsF9fWk+8= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30165] New: main name should use linkage name Date: Fri, 24 Feb 2023 17:30:03 +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: 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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30165 Bug ID: 30165 Summary: main name should use linkage name Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- Bug #30158 shows a case where gdb finds the main name, but can't find the corresponding minimal symbol -- even though it exists. Partly this is due to bad decisions by rustc -- the symbol in question appears "C++-like" but actually has this rust hex stuff at the end. However, if gdb used the linkage name for the main function (even just as an adjunct to the symbol name), gdb would be able to find it. --=20 You are receiving this mail because: You are on the CC list for the bug.=