aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-aix.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-05-08 06:10:03 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-05-08 06:10:03 +0000
commit814a3ff71b0e90f67eb9003ca37fa90094204152 (patch)
treef2cdfd05d2d0fd21bb46cef37c59d8e92eab8027 /gdb/solib-aix.c
parent2874cb8393678a041dc533fa54debd5e862d7616 (diff)
downloadgdb-814a3ff71b0e90f67eb9003ca37fa90094204152.zip
gdb-814a3ff71b0e90f67eb9003ca37fa90094204152.tar.gz
gdb-814a3ff71b0e90f67eb9003ca37fa90094204152.tar.bz2
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.
Diffstat (limited to 'gdb/solib-aix.c')
-rw-r--r--gdb/solib-aix.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/solib-aix.c b/gdb/solib-aix.c
index d930769..9fa5de9 100644
--- a/gdb/solib-aix.c
+++ b/gdb/solib-aix.c
@@ -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"