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: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 10 Feb 2014 10:02:06 +0000
- 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>
On 02/10/2014 07:51 AM, Joel Brobecker wrote:
> +
> +/* 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?
--
Pedro Alves