public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15801] New: some C++11 symbols can't be demangled
@ 2013-07-30  1:06 b.r.longbons at gmail dot com
  2013-07-30  1:46 ` [Bug c++/15801] " keiths at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: b.r.longbons at gmail dot com @ 2013-07-30  1:06 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-23 19:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-30  1:06 [Bug c++/15801] New: some C++11 symbols can't be demangled b.r.longbons at gmail dot com
2013-07-30  1:46 ` [Bug c++/15801] " keiths at redhat dot com
2013-07-30  5:04 ` b.r.longbons at gmail dot com
2013-07-30  5:57 ` b.r.longbons at gmail dot com
2013-08-01  5:53 ` b.r.longbons at gmail dot com
2022-12-23 19:20 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).