Regression for gdb.fortran/library-module.exp [Re: [RFA] choose symbol from given block's objfile first.]

Pedro Alves palves@redhat.com
Mon May 14 17:49:00 GMT 2012


On 05/14/2012 03:51 PM, Jan Kratochvil wrote:

> Some such order may be what ld.so does for the symbol search which should be
> the real right solution.


I agree; I was going to suggest it.  And naturally, this is target dependent.
On Windows/PE, there's no concept of symbol preemption, so looking in the current
image / objfile would always be good.  We already do something of the sort
with solib_global_lookup ->  elf_lookup_lib_symbol.

-- 
Pedro Alves



More information about the Gdb-patches mailing list