This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Viewing the symbol table as a database?
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: Tue, 17 Sep 2002 12:33:25 -0400
- Subject: Viewing the symbol table as a database?
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