From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7916 invoked by alias); 21 Feb 2004 02:18:59 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7909 invoked from network); 21 Feb 2004 02:18:58 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 21 Feb 2004 02:18:58 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AuMjI-0006JX-Ev; Fri, 20 Feb 2004 21:18:56 -0500 Date: Sat, 21 Feb 2004 02:18:00 -0000 From: Daniel Jacobowitz To: Elena Zannoni Cc: Andrew Cagney , David Carlton , gdb@sources.redhat.com Subject: Re: Huge slowdown since 6.0 Message-ID: <20040221021856.GB19335@nevyn.them.org> Mail-Followup-To: Elena Zannoni , Andrew Cagney , David Carlton , gdb@sources.redhat.com References: <20040218210927.GA16641@nevyn.them.org> <20040220050905.GA15209@nevyn.them.org> <16438.14300.323849.306261@localhost.redhat.com> <40363D78.9080708@gnu.org> <16438.18096.205403.553354@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16438.18096.205403.553354@localhost.redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-02/txt/msg00304.txt.bz2 On Fri, Feb 20, 2004 at 12:41:04PM -0500, Elena Zannoni wrote: > The thing that I am curious about is to see how early into a regular > debug session we build the symtabs. I.e. I am afraid that any > reference to any symbol from the command line makes the whole lot > expand anyway. The answer to this may help answer the question whether > we really need a two tier symbol table system, or if there is another > way of solving the same problem. While cleaning up the obstack stuff, > it became obvious that the intent was for the psymtabs to go away once > expanded into full symtabs, but this was never implemented. >From the last time I looked at this issue (a while ago, now): when a symbol is referenced on the command line we generally build symtabs for the symbol containing it. We do not build all symtabs for its object; we used to do that for some C++ operations (overload checking maybe?) and it was extremely noticeable. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer