Re: [commit] [patch] Implement qXfer:libraries-svr4 for Linux/gdbserver #4

Doug Evans
2011-12-03T17:03:44Z

On Fri, Dec 2, 2011 at 2:32 PM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> Hi,
>
> checked in, therefore introducing the new <library-list-svr4/> and
> TARGET_OBJECT_LIBRARIES_SVR4 protocol (not reusing <library-list/>).
>
> Some gdbserver memory corruption has been fixed.
>
> The patch uses now always the version="1.0" attribute as #FIXED, provided by
> gdbserver and required by gdb.  A similar change I suggested for existing
> <library-list/> in:
>        [patch] gdbserver <library-list> and its #FIXED version="1.0"
>        http://sourceware.org/ml/gdb-patches/2011-11/msg00099.html
>
> No regressions on {x86_64,x86_64-m32,i686}-fedora16-linux-gnu in both nat and
> gdbserver mode.

I happened to do a non-expat build and got a build failure.

../../../src/gdb/solib-svr4.c: In function 'svr4_current_sos':
../../../src/gdb/solib-svr4.c:1293: error: 'svr4_free_library_list'
undeclared (first use in this function)
../../../src/gdb/solib-svr4.c:1293: error: (Each undeclared identifier
is reported only once
../../../src/gdb/solib-svr4.c:1293: error: for each function it appears in.)
../../../src/gdb/solib-svr4.c: In function '_initialize_svr4_solib':
../../../src/gdb/solib-svr4.c:2479: error: 'svr4_free_so' undeclared
(first use in this function)
make: *** [solib-svr4.o] Error 1