[RFA] symtab.c: Fix for infinite GDB recursion in gdb.c++/classes.exp
Peter.Schauer
Peter.Schauer@regent.e-technik.tu-muenchen.de
Sat Oct 28 11:55:00 GMT 2000
> > I'd suggest to get rid of any references to SYMBOL_SOURCE_NAME etc. in partial
> > symbol handling and add comments that clearly state that partial symbols
> > have no demangled names.
> Well, eventually partial symbols are going away in general (they'll
> become part of hte stabs reader, where they belong, since things like
> DWARF2 have the indexes that partial symbols are solving for STABS),
> so it might not be worth it to even bother right now.
I do _not_ agree.
Even if partial symbols should become part of the stabs reader only, you
should clean up the code so that it doesn't confuse those who look at
the code.
Sloppy stuff has the tendency to hang around for much longer than you think
and it is a permanent nuisance.
--
Peter Schauer pes@regent.e-technik.tu-muenchen.de
More information about the Gdb-patches
mailing list