This is the mail archive of the gdb@sources.redhat.com 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: Viewing the symbol table as a database?


On Tue, Sep 17, 2002 at 12:33:25PM -0400, Andrew Cagney wrote:
> Hello,
> 
> Should core GDB view the symbol table as a database.  That way the 
> internals are really abstracted.
> 
> For instance, instead of pc->block->nametab->symbol, just do:
> 	lookup_symbol (symtab, pc, "name");
> 
> Disclaimer: this isn't my idea but I think it is good.  It will let the 
> data structures scale beyond currend address space limitations.

Yes.  I believe this is down the road of David's changes.  It's not
quite that simple - I think we will need some options to the lookup,
but it's not clear what they are yet.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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