This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

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


On 05/07/2013 04:28 PM, Joel Brobecker wrote:
For me the function is static in solib-aix.c, so I don't get a warning.
If that is true for you then the error seems like a compiler bug.

That crossed my mind. I'll try a new build later with a different
compiler to see how it works.

This is GCC 4.7.2 by the way.

For the record, same for me. I just recompiled with GCC 4.7.4 on
x86_64-linux.


Ah, here it is.

The failure seems to be due to solib_aix_free_library_list only being defined if HAVE_LIBEXPAT is defined, but it is being used in solib_aix_normal_stop_observer regardless of HAVE_LIBEXPAT being defined or not.

I was missing libexpat in my system, so that's why i was seeing this failure. Looks like it is a real GDB bug.


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