new demangler
David Carlton
carlton@kealia.com
Mon Dec 15 23:01:00 GMT 2003
On Mon, 15 Dec 2003 17:54:52 -0500, Daniel Jacobowitz <drow@mvista.com> said:
> On Mon, Dec 15, 2003 at 02:53:11PM -0800, David Carlton wrote:
>> I just tried to merge my GDB branch with the current sources, and
>> I'm running into problems that seem to be caused by the new
>> demangler. Specifically, it doesn't seem to like
>> "_ZN1C6CClassaSERKS0_", which the old demangler claims is
>> "C::CClass::operator=(C::CClass const&)".
> It does for me:
> drow@nevyn:~% /opt/src/gdb/x86-as/binutils/cxxfilt _ZN1C6CClassaSERKS0_
> C::CClass::operator=(C::CClass const&)
Hmm. I don't have a CVS binutils tree around, but I get, with GDB
from current CVS:
(gdb) maint demangle _ZN1C6CClassaSERKS0_
Can't demangle "_ZN1C6CClassaSERKS0_"
So either we're using different demanglers or else there's something
strange about maint demangle/class_name_from_physname. Either of
which is possible - nobody other than me uses class_name_from_physname
regularly, after all, and maint demangle is only a maint command.
David Carlton
carlton@kealia.com
More information about the Gdb
mailing list