This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] symtab.c: Fix for infinite GDB recursion in gdb.c++/classes.exp
- To: dberlin at redhat dot com (Daniel Berlin)
- Subject: Re: [RFA] symtab.c: Fix for infinite GDB recursion in gdb.c++/classes.exp
- From: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Date: Sat, 28 Oct 2000 20:55:18 MET DST
- Cc: gdb-patches at sourceware dot cygnus dot com
> > 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