From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31019 invoked by alias); 13 Feb 2003 02:31:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31012 invoked from network); 13 Feb 2003 02:31:52 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by 172.16.49.205 with SMTP; 13 Feb 2003 02:31:52 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id h1D2VjS27949; Wed, 12 Feb 2003 18:31:45 -0800 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Jason Molenda Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: have maint print statistics print a little more References: <20030212175358.A24355@molenda.com> From: David Carlton Date: Thu, 13 Feb 2003 02:31:00 -0000 In-Reply-To: <20030212175358.A24355@molenda.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-02/txt/msg00302.txt.bz2 On Wed, 12 Feb 2003 17:53:58 -0800, Jason Molenda 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