From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70A893894C2E; Wed, 2 Sep 2020 16:18:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70A893894C2E From: "trass3r at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/26122] gdb fails to demangle a name Date: Wed, 02 Sep 2020 16:18:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trass3r at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: cc 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 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: Wed, 02 Sep 2020 16:18:37 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26122 trass3r changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trass3r at gmail dot com --- Comment #1 from trass3r --- Confirmed on trunk but it has nothing to do with not being able to demangle. It happens with a simple std::make_unique(5) call and regex ^std:: too. The problem is that in infrun.c function_name_is_marked_for_skip (ecs->stop_func_name, actually gets the mangled name unlike in other calls to that function. https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dblob;f=3Dgdb/infrun.c;= h=3D938bc081a1c96ab0551046b6cccc777bd40dd78e;hb=3DHEAD#l6859 The only workaround is to match the mangled name, 'skip -rfu ^_ZSt' in my c= ase. --=20 You are receiving this mail because: You are on the CC list for the bug.=