From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27799 invoked by alias); 1 Jun 2004 01:40:36 -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 27777 invoked from network); 1 Jun 2004 01:40:35 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 1 Jun 2004 01:40:35 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BUyGW-00017I-HB for ; Mon, 31 May 2004 21:40:32 -0400 Date: Tue, 01 Jun 2004 01:40:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] New program_changed event, cleanup some HPUXHPPA mess Message-ID: <20040601014032.GA4188@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20040521190242.GB7207@tausq.org> <40AE6260.2090205@gnu.org> <20040526052753.GU7207@tausq.org> <20040526132546.GB7594@nevyn.them.org> <20040526153530.GZ7207@tausq.org> <40B4D9D6.7040302@gnu.org> <20040528234344.GA11062@nevyn.them.org> <40BB8AD5.3020504@gnu.org> <20040531204318.GA29687@nevyn.them.org> <40BBDC52.7060106@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40BBDC52.7060106@gnu.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-06/txt/msg00001.txt.bz2 On Mon, May 31, 2004 at 09:30:58PM -0400, Andrew Cagney wrote: > >On Mon, May 31, 2004 at 03:43:17PM -0400, Andrew Cagney wrote: > > > >>>We'll find out - the change will put the additional lookups will put the > >>>symtab under extra strain. > > > > > >I have trouble thinking anything will break. Both minimal and full > >symbol lookups are O(1) already and have been for at least two years. > > In that case, since the cache was originally added to work around what > was a >>O(1) lookup, it should no longer be needed. > > Of course, if that isn't the case, we'll find out. > > When it comes to fixing the problem, we can extend/tighten the symtab > interface so that other code can also benefit. That is where the cache > mechanism belongs - not in hp specific code. OK, I understand now. Thanks. -- Daniel Jacobowitz