This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] struct dictionary


On Thu, Apr 24, 2003 at 10:17:23PM -0400, Andrew Cagney wrote:
> 
> >Blocks currently store symbols in one of three different ways: using a
> >hash table, using an unsorted list, or using a sorted list.  Most
> >blocks are built by buildsym.c, which use only the former two
> >mechanisms.  Sorted list blocks are only being produced by
> >mdebugread.c.  And, to make matters worse, jv-lang.c produces one
> >unsorted list block for which the predicate BLOCK_SHOULD_SORT matches;
> >the chain of events by which GDB actually treats that block correctly
> >is very tenuous.
> 
> Um, didn't BLOCK_SHOULD_SORT get deleted?

Nope, just used less.  It's not deleted for the reasons David
describes.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]