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: [PATCH PR gdb/18071] TLS variables can't be resolved on aarch64-linux-gnu




On 3/24/2018 1:44 PM, Simon Marchi wrote:
On 2018-03-24 16:11, Wei-min Pan wrote:
Big difference is lookup_minimal_symbol_and_objfile(char *name) only
searches the ordinary hash table for "name"
while lookup_bound_minimal_symbol(char *name) does both the ordinary
hash table  and the demangled hash table.

Am I missing something?  Your patch (the origin of this thread) changed lookup_minimal_symbol_and_objfile to also search for demangled minsyms, didn't it?

Yes, originally I changed lookup_minimal_symbol_and_objfile to call lookup_bound_minimal_symbol for each objfile and now lookup_bound_minimal_symbol will call lookup_bound_minimal_symbol once.


Simon


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