* Viewing the symbol table as a database?
@ 2002-09-17 9:33 Andrew Cagney
2002-09-17 9:38 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2002-09-17 9:33 UTC (permalink / raw)
To: gdb
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.
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Viewing the symbol table as a database?
2002-09-17 9:33 Viewing the symbol table as a database? Andrew Cagney
@ 2002-09-17 9:38 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-09-17 9:38 UTC (permalink / raw)
To: Andrew Cagney; +Cc: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-17 16:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-17 9:33 Viewing the symbol table as a database? Andrew Cagney
2002-09-17 9:38 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox