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]
Other format: [Raw text]

Re: RFC: have maint print statistics print a little more


On Wed, 12 Feb 2003 17:53:58 -0800, Jason Molenda
<jason-swarelist@molenda.com> said:

> At Apple we're often faced with a mysteriously slow gdb.  It would
> be very helpful to know if we've just expanded all the psymtabs into
> symtabs, or if we have some problem from the compiler that is
> causing us to get a vastly larger number of psymtabs for header
> files than we would normally have.

> This patch adds a few new entries to the objfile information printed
> by maint print statistics:

> * Number of psym tables (not yet expanded): 904
> * Number of symbol tables: 260
> * Number of symbol tables with line tables: 32
> * Number of symbol tables with blockvectors: 33

Sounds like a nice idea to me; I've spent more time than I'd like
playing with psymtabs recently, and Daniel Jacobowitz and I were just
talking about a patch to fix one "expand all the psymtabs into
symtabs" bug; the easier it is for people to be aware of the existence
of such bugs, the better.

David Carlton
carlton@math.stanford.edu


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