This is the mail archive of the gdb@sources.redhat.com 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]

Re: new demangler


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


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