This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: have maint print statistics print a little more
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Jason Molenda <jason-swarelist at molenda dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 12 Feb 2003 18:31:44 -0800
- Subject: Re: RFC: have maint print statistics print a little more
- References: <20030212175358.A24355@molenda.com>
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