Re: [commit] reimplement AIX shared-lib support (v3)

Luis Machado
2013-05-07T13:45:40Z

On 05/06/2013 04:20 PM, Joel Brobecker wrote:
> Hello,
>
> This is the version that I just checked in. It includes the minor
> suggestions sent by Tom (25 Apr 2013).
>
> There is the matter of default_symfile_offsets force-setting
> some section offsets to zero, but I will handle that separately
> using Tom's suggestion, with wider testing.
>

When trying to build with --enable-targets=all i seem to be falling into
a build error due to a warning.

gdb/solib-aix.c: In function Â‘solib_aix_normal_stop_observerÂ’:
gdb/solib-aix.c:781:3: error: implicit declaration of function
Â‘solib_aix_free_library_listÂ’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[2]: *** [solib-aix.o] Error 1

The function is only used in solib-aix.c though, so i'm a little
confused. I worked around it (for my purposes) by declaring it in
solib-aix.h.