[PATCH PR gdb/18071] TLS variables can't be resolved on aarch64-linux-gnu

Wei-min Pan weimin.pan@oracle.com
Sat Mar 24 21:42:00 GMT 2018



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



More information about the Gdb-patches mailing list