Re: GCC, stabs, mangled names

Daniel Jacobowitz
2003-03-11T01:24:16Z

On Mon, Mar 10, 2003 at 05:20:32PM -0800, David Carlton wrote:
> On Mon, 10 Mar 2003 19:56:56 -0500, Daniel Jacobowitz <drow@mvista.com> said:
>
> > It's unclear what the right thing to do is. Stabs is underspecified
> > (and underimplemented too). Someone needs to decide what would be
> > useful.
>
> I compared this with 2.95.3, and it seems that GCC switched from only
> using mangled names to only using demangled names. If we can't have
> both, it seems to me that only having mangled names is more useful.
>
> Did anybody from the GDB side ask them to switch the output that they
> produced? If so, what was the rationale?

FYI, my position on stabs has crystalized over time: I don't care, use
DWARF-2. Even on Solaris if you use the GNU tools I believe DWARF-2 is
available as an option. If someone hits a platform that they care
about where this isn't an option, and they want to make the stabs
support work again, then we can deal with it - only then.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer