This is the mail archive of the gdb-patches@sourceware.org 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: [commit/Ada] Add a symbol lookup cache


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


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