Dummy implementation of solib_aix_free_library_list if libexpat missing.

gdb/ChangeLog:

        * solib-aix.c (solib_aix_free_library_list): New function
        for the case where HAVE_LIBEXPAT is not defined.
This commit is contained in:
Joel Brobecker 2013-05-08 06:10:03 +00:00
parent 2874cb8393
commit 814a3ff71b
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-05-08 Joel Brobecker <brobecker@adacore.com>
* solib-aix.c (solib_aix_free_library_list): New function
for the case where HAVE_LIBEXPAT is not defined.
2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
PR breakpoints/15413:

View File

@ -141,6 +141,13 @@ solib_aix_parse_libraries (const char *library)
return NULL;
}
/* Dummy implementation if XML support is not compiled in. */
static void
solib_aix_free_library_list (void *p)
{
}
#else /* HAVE_LIBEXPAT */
#include "xml-support.h"