This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fixed occasional failure to load a custom shared library
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Kevin Buettner <kevinb at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Mon, 9 Oct 2006 16:17:47 -0400
- Subject: Re: [patch] Fixed occasional failure to load a custom shared library
- References: <20060622114016.GA21094@host0.dyn.jankratochvil.net> <20060626180051.0adcce23@ironwood.lan> <20060721183829.GB9150@lace.redhat.com>
On Fri, Jul 21, 2006 at 08:38:29PM +0200, Jan Kratochvil wrote:
> Hi Kevin,
>
> I am now copyright assignment compliant (as Red Hat employee).
>
> Could you please commit the updated patch? Its ChangeLog entry:
>
> 2006-07-21 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * solib.c (solib_open): Fixed NULL vs. "" refusal to load inferior
> shared libraries.
I have committed this for you, after fixing separately the inferior
segfault.
I tried to reproduce the actual problem you were having, but I
couldn't. No matter what I put in LD_LIBRARY_PATH or rpath, glibc
filled in the full path to the shared library. Maybe I have a
newer runtime loader than you do, or something similar. Anyway,
that's unimportant.
--
Daniel Jacobowitz
CodeSourcery