From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21332 invoked by alias); 30 Jul 2013 01:06:21 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 21285 invoked by uid 48); 30 Jul 2013 01:06:21 -0000 From: "b.r.longbons at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/15801] New: some C++11 symbols can't be demangled Date: Tue, 30 Jul 2013 01:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: b.r.longbons at gmail dot com X-Bugzilla-Status: NEW 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 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00123.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15801 Bug ID: 15801 Summary: some C++11 symbols can't be demangled Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: c++ Assignee: unassigned at sourceware dot org Reporter: b.r.longbons at gmail dot com When debugging my program, I noticed that several symbols in a recursive template failed. The simplest one is: _Z7extractILc9ELi0EEbN7strings7XStringE6RecordIXT_EXT0_EJEE I noticed a similar case in libiberty test data: _Z1gIJidEEDTclL_Z1fEspplfp_Li1EEEDpT_ Talking directly to libiberty, my symbol also demangles. I have not observed any difference between my symbol and that one. The test entry specifies gnu-v3 (I haven't found any documentation on how that is different than gnu - older or newer?), but (gdb) set demangle-style gnu-v3 does not make maintenance demangle accept it. I have not observed any difference between gdb 7.6 and gdb trunk. Note: the c++filt program, which is part of binutils, learned to understand the symbol sometime between 2.22 and 2.23 Incidentally, this bug is an *excellent* argument for why static libraries (and/or copylibs) need to die. -- You are receiving this mail because: You are on the CC list for the bug.