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: How to fix solib path name?


On Wednesday 08 July 2009 16:14:41, Aleksandar Ristovski wrote:
> Pedro Alves wrote:
> > On Wednesday 08 July 2009 15:45:23, Aleksandar Ristovski wrote:
> >> See solib_find comment in "solib.c" for figuring out how it 
> >> looks for it.
> >>
> >> You can provide "find_and_open_solib" in your target_ops for 
> >> customizing it (in case you want to provide "default" search 
> >> algorithm when built-in solib-search-path mechanism fails to 
> >> find it).
> > 
> > Please don't go there, it's not really needed.
> > 
> 
> I thought the mechanism worked quite nicely. For us at least.
> 
> If solib-search-path is not set, we end up searching solibs 
> using find_and_open_solib.
> 
> When solib-search-path is set, then it takes precedence and 
> only if solib is not found there, we fallback to 
> find_and_open_solib.
> 
> What would you do differently?

Use "(gdb) set sysroot".

-- 
Pedro Alves


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