This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Regression for gdb.fortran/library-module.exp [Re: [RFA] choose symbol from given block's objfile first.]
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