From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5030 invoked by alias); 19 Feb 2004 05:06:49 -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 5022 invoked from network); 19 Feb 2004 05:06:47 -0000 Received: from unknown (HELO demos.bsdclusters.com) (69.55.225.36) by sources.redhat.com with SMTP; 19 Feb 2004 05:06:47 -0000 Received: from demos.bsdclusters.com (demos [69.55.225.36]) by demos.bsdclusters.com (8.12.8p1/8.12.8) with ESMTP id i1J56YmO037362; Wed, 18 Feb 2004 21:06:34 -0800 (PST) (envelope-from kmacy@fsmware.com) Received: from localhost (kmacy@localhost) by demos.bsdclusters.com (8.12.8p1/8.12.8/Submit) with ESMTP id i1J56Y7E037359; Wed, 18 Feb 2004 21:06:34 -0800 (PST) X-Authentication-Warning: demos.bsdclusters.com: kmacy owned process doing -bs Date: Thu, 19 Feb 2004 05:06:00 -0000 From: Kip Macy X-X-Sender: kmacy@demos.bsdclusters.com To: Daniel Jacobowitz cc: David Carlton , gdb@sources.redhat.com Subject: Re: Huge slowdown since 6.0 In-Reply-To: <20040219033527.GB14471@nevyn.them.org> Message-ID: <20040218210621.K37106@demos.bsdclusters.com> References: <20040218210927.GA16641@nevyn.them.org> <20040218143915.D18075@demos.bsdclusters.com> <20040219033527.GB14471@nevyn.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-02/txt/msg00239.txt.bz2 Good to know. What has changed to speed up symbol lookup? -Kip On Wed, 18 Feb 2004, Daniel Jacobowitz wrote: > On Wed, Feb 18, 2004 at 02:44:56PM -0800, Kip Macy wrote: > > About a year ago our tools person added symbol-caching to our in-house > > GDB tree. He happened to use an STL map, although there are certainly > > more C-compliant ways. Prior to this change, developers had to use > > pointer arithmetic in their macros to avoid repeated lookups or their > > macros would run too SLOW. Would symbol-caching be something that would > > make sense for mainline GDB? > > Maybe, but a year or two ago symbol lookup was a whole lot slower than > it is now. I suspect it would not make a lot of difference. > > -- > Daniel Jacobowitz > MontaVista Software Debian GNU/Linux Developer >