This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] Add a symbol lookup cache
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 10 Feb 2014 14:06:22 +0400
- Subject: Re: [commit/Ada] Add a symbol lookup cache
- Authentication-results: sourceware.org; auth=none
- References: <1392018685-15134-1-git-send-email-brobecker at adacore dot com> <52F8A39E dot 8030300 at redhat dot com>
> > +/* An obstack used to store the entries in our cache. */
> > +static struct obstack cache_space;
> > +
> > +/* The root of the hash table used to implement our symbol cache. */
> > +static struct cache_entry *cache[HASH_SIZE];
>
> Seems to me this should be per program space, not global?
You're right. I'm in the middle of testing the DLL load/unload
cleanup patches, but I will take care of it right after.
Thanks,
--
Joel