This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Cross solib support; continued
- From: Orjan Friberg <orjan dot friberg at axis dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 15 Nov 2001 19:23:23 +0100
- Subject: Re: Cross solib support; continued
- Organization: Axis Communications AB
- References: <3BEAA3A0.586B3046@axis.com> <20011108110955.A12240@nevyn.them.org>
Daniel Jacobowitz wrote:
>
> On Thu, Nov 08, 2001 at 04:24:16PM +0100, Orjan Friberg wrote:
> > A couple of more questions regarding support for cross solibs:
> >
> > That is, I would like a solib that is now searched for in
> > solib-absolute-prefix to be searched for in solib-search-path instead.
> > Would it make sense to add such a command, like solib-ignore-path? (I'd
> > be happy to make it happen.) In effect, it would make all solibs to be
> > searched for in solib-search-path by file name only, and
> > solib-absolute-path would have no effect.
>
> Is this really necessary? I just put unstripped libraries in a
> directory named lib and set the absolute prefix appropriately.
>
> Other than that, we should fall back to solib-search-path and the
> basename if solib-absolute-path fails for us, IMO. Would that work for
> you? Set the absolute-path to /dev/null or so and then add the
> fallback code.
FYI: I'm not twiddling my thumbs waiting for you or anybody else to
implement this for me. I'm willing to dig in and do it, but I'm
currently swamped in other things, and will probably be so for a few
more days. As they say, "It's on my TODO list."
--
Orjan Friberg
Axis Communications AB