A gdb+bfd string pool?

Andrew Cagney ac131313@redhat.com
Fri Oct 31 17:29:00 GMT 2003


>> The interface or the implementation?  The bcache interface is focused 
>> and simple (something that can't be said for that hash table).  The 
>> hashtab could certainly be used in the implementation (as elf-strtab did).
> 
> 
> So does gdb/symtab.c.
> 
> 
>> Anyway, back to the question.  Does a [global] common pool make sense 
>> for BFD?
> 
> 
> Oh, you meant an _instance_, not a data structure.  Sorry.

More specifically, a single instance.  Instead of having something like 
a per-object file symbol bcache as was done with GDB, there would just 
be a single global bcache (and it would never shrink).

Andrew




More information about the Gdb mailing list