This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: symtab.h: 2000-10-12 SYMBOL_INIT_DEMANGLED_NAME change, why ?
- To: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Subject: Re: symtab.h: 2000-10-12 SYMBOL_INIT_DEMANGLED_NAME change, why ?
- From: Daniel Berlin <dberlin at redhat dot com>
- Date: 28 Oct 2000 18:31:02 -0400
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200010281955.VAA14340@reisser.regent.e-technik.tu-muenchen.de>
"Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de> writes:
> > There is no noticeable speed decrease due to this change.
> > I originally thought the actual likely culprit is somewhere in the stabsreader, the
> > SYMBOL_LANGUAGE not getting set in all cases.
> > But it turned out the current file's language was language_unknown for
> > some reason, at the point it wanted to set the symbol language.
> > However, I couldn't follow all the codepaths to track this down, due
> > to the gotos.
> > I didn't feel like wasting any more time on it, so i just fixed the
> > symptom, as you said.
>
> I would be volunteering to `waste' more time on it, if you can provide
> an example, as I'd rather like to fix the cause.
Okeydokey, i'll send you one.
You'll likely find it's bad debug info being produced by GCC 2.95.2 in
stabs mode, in which case, we can't get it fixed (unless it's still
broken in 2.97, which i doubt).
--Dan