This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/14963] segfault on startup


https://sourceware.org/bugzilla/show_bug.cgi?id=14963

--- Comment #27 from Adrian Cheater <adrian.cheater at gmail dot com> ---
Thanks Gary, I'm reading through it now and trying to hand parse the crashing
strings to see what they should be, and then see if I can figure out where the
parser is dying.

On that note however, since the spec is a BNF grammar. Is there a reason the
demangler isn't implemented in GNU Bison or something? I saw a reference that a
YACC based system used to be part of GCC, but was dropped (for what I assume
are very good reasons). Should I assume that a Bison based demangler would not
be accepted (though I suppose I could use it as a reference implementation).

This definitely seems like a bug in the substitution part of the spec, though I
haven't determined if the bug is in the DC compiler, or the printer callback.
Might be related to templates within templates.

http://mentorembedded.github.io/cxx-abi/abi.html#mangle.substitution

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]