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] |
On 3/24/2018 12:52 PM, Simon Marchi wrote:
On 2018-03-24 15:45, Wei-min Pan wrote:Will submit a revised patch which (1) calls lookup_bound_minimal_symbol in info_address_command() and(2) corrects the doc for lookup_minimal_symbol_and_objfile() in minsyms.h.I did (2) when pushing your patch (I just removed the mention about it only looking through linkage names). But I think the idea now would be to get rid of lookup_minimal_symbol_and_objfile, since it's basically the same as lookup_bound_minimal_symbol, isn't it?
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.
Simon
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |