RFC: have maint print statistics print a little more

David Carlton carlton@math.stanford.edu
Thu Feb 13 02:31:00 GMT 2003


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



More information about the Gdb-patches mailing list