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]

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


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