This is the mail archive of the
mailing list for the GDB project.
Re: [rfc] struct dictionary
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: David Carlton <carlton at math dot stanford dot edu>, gdb <gdb at sources dot redhat dot com>,Elena Zannoni <ezannoni at redhat dot com>, Jim Blandy <jimb at redhat dot com>
- Date: Thu, 24 Apr 2003 22:22:23 -0400
- Subject: Re: [rfc] struct dictionary
- References: <ro1he8y9pim.fsf@jackfruit.Stanford.EDU> <3EA89AB3.email@example.com>
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
MontaVista Software Debian GNU/Linux Developer