[patch/rfc] New program_changed event, cleanup some HPUXHPPA mess

Daniel Jacobowitz drow@false.org
Tue Jun 1 01:40:00 GMT 2004


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



More information about the Gdb-patches mailing list