This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Cross solib support; continued
On Nov 15, 7:23pm, Orjan Friberg wrote:
> > > 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."
Good. Daniel's suggested approach to solving your problem sounds okay
to me so a patch based on his suggestion should be okay too.
Thanks,
Kevin