new demangler
Ian Lance Taylor
ian@wasabisystems.com
Mon Dec 15 23:20:00 GMT 2003
David Carlton <carlton@kealia.com> writes:
> So is there a problem with the way class_name_from_physname invokes
> the demangler? It does this:
>
> char *demangled_name = cplus_demangle (physname, DMGL_ANSI);
>
> Compared to other places in GDB where the demangler is called, this is
> unusual since DMGL_PARAMS isn't passed in as well, but I don't see why
> that would cause the demangling to fail completely.
Well, in fact, there was a bug in the case where DMGL_PARAMS was not
set. I just checked in a patch for it.
Sorry about that. I've had the patch for a while, but I haven't had a
chance to check it in.
Ian
More information about the Gdb
mailing list