This is the mail archive of the gdb-patches@sourceware.org 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: [RFA] choose symbol from given block's objfile first.


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> I think I see why I got tricked: Is it because the debug info is DWARF?
Joel> With DWARF, the lookup_static_symbol_aux first pre-expands all partial
Joel> symbols containing a match, so we never go into the quick method...

Not DWARF, but it depends on whether you are using psymtabs or the
.gdb_index.

There are two methods in quick_symbol_functions that can be supplied by
a symbol reader: pre_expand_symtabs_matching and lookup_symbol.
Psymtabs supplies the latter, the index code supplies the former.

Tom


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