This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Slow handling of C++ symbol names
Daniel Jacobowitz <drow@mvista.com> writes:
> GDB never does set DMGL_VERBOSE. Are you sure the old demangler
> wouldn't produce that without DMGL_VERBOSE?
>
> Maybe the old demangler had a test reversed. ISTR that c++filt passes
> DMGL_VERBOSE, and that generates std::string rather than
> std::basic_string for the above.
Well, hmmm. The code looks right to me. When I run my copy of
c++filt built with the old demangler, I get the long string, as
expected.
I note that DMGL_VERBOSE was only added on 2002-02-05, so if you're
using a c++filt from sources before that you will get the smaller
demangling.
Ian