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: Regression for gdb.fortran/library-module.exp [Re: [RFA] choose symbol from given block's objfile first.]


> On Mon, 14 May 2012 19:59:13 +0200, Joel Brobecker wrote:
> > So enhance elf_lookup_lib_symbol to search the main objfile?
> 
> When we are already fixing it we should already fix it right.
> Therefore to have the right lookup order even between shared libraries.

... but at the same time taking into account the context from which
the user made the request...

I want to make sure that we don't get carried away too much and forget
to include plans to fix the regression in our immediate future. For
instance, Pedro suggested that we should search the main objfile first,
but that this should be target dependent.  Thinking about it, he's right,
of course. But coding it right is probably going to take some thinking.
On the other hand, implementing this approach for all targets seems
easy enough, and would buy us some time.


-- 
Joel


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