This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [PATCH, RFA]: Fix search for shared libraries


On Dec 23, 12:36am, Mark Kettenis wrote:

> The attached patch makes solib_open() look for the solib literally if
> its name contains a (back)slash, i.e. if it is a absolute or relative
> path.  This is wat the GNU dynamic linker does.  Note that if the path
> is relative, we still don't look in SOLIB_ABSOLUTE_PREFIX.
> 
> No regressions on i586-pc-linux-gnu.  OK to check this in?
> 
> Mark
> 
> 
> 2000-12-22  Mark Kettenis  <kettenis@gnu.org>
> 
> 	* solib.c (solib_open): If path is relative, look for it
> 	literally.  This matches the behaviour of the GNU dynamic linker
> 	more closely.

It looks good to me.  Go ahead and check it in.  (And thanks for
fixing the formatting.)

Kevin

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