This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/stabs reader] Fix v3 duplicate constructors problem
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Michael Elizabeth Chastain <mec at shout dot net>,gdb-patches at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Date: Tue, 4 Dec 2001 11:59:20 -0500
- Subject: Re: [RFA/stabs reader] Fix v3 duplicate constructors problem
- References: <200112040909.DAA30310@duracef.shout.net> <wvl7ks3ce08.fsf@prospero.cambridge.redhat.com>
On Tue, Dec 04, 2001 at 01:26:47PM +0000, 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?
Strongly agree. I was boggled to find two names for obviously
different constructors that were demangled to the same thing; after
figuring out what all the different variants were, of course, it made
sense - but it violates least surprise quite badly.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer