[RFA/stabs reader] Fix v3 duplicate constructors problem
Daniel Berlin
dan@cgsoftware.com
Tue Dec 4 07:40:00 GMT 2001
On Tue, 4 Dec 2001, Jason Merrill wrote:
> >>>>> "Michael" == Michael Elizabeth Chastain <mec@shout.net> writes:
>
> > I would like gdb to demangle different names differently.
>
> Which brings me to a question: Why don't we demangle them differently?
> Currently, flag_verbose in cp-demangle.c defaults to 0, so the two
> functions are demangled identically. I think this is wrong, and have
> changed flag_verbose to 1 for my own use. What do other people think?
IIRC, the reason was that ptype output should be directly usable in the
target language.
We had a large discussion about this sometime in the past year, i can't
quite remember the outcome.
I had a patch to gdb/libiberty that passed DMGL_VERBOSE along (and added
DMGL_VERBOSE to the flags) for this purpose.
>
> Jason
>
More information about the Gcc
mailing list