This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] symtab.c: Fix for infinite GDB recursion in gdb.c++/classes.exp


> > 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]