This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Test solib-search-path
- From: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 22 Apr 2013 17:05:07 -0700
- Subject: Re: [patch] Test solib-search-path
- References: <yjt27gjurvwf dot fsf at ruffy2 dot mtv dot corp dot google dot com>
On Mon, Apr 22, 2013 at 4:24 PM, Doug Evans <dje@google.com> wrote:
> Hi.
> This patch tests solib-search-path, and in particular
> the patch posted here:
> http://sourceware.org/ml/gdb-patches/2013-04/msg00388.html
>
> It requires this patch:
> http://sourceware.org/ml/gdb-patches/2013-04/msg00674.html
>
> I will check this in in a few days if there are no objections.
>
> 2013-04-22 Doug Evans <dje@google.com>
>
> * gdb.base/solib-search-lib1.c: New file.
> * gdb.base/solib-search-lib2.c: New file.
> * gdb.base/solib-search.c: New file.
> * gdb.base/solib-search.h: New file.
> * gdb.base/solib-search.exp: New file.
>
Blech.
> +# Set soname so that the path to the correct library is not hardcoded
> +# in the executable.
> +set lib1_flags "" ;#"ldflags=-Wl,-soname,${libname1}.so"
> +set lib2_flags "" ;#"ldflags=-Wl,-soname,${libname2}.so"
Leftover from early versions.
Fixed in my sandbox.