From 814a3ff71b0e90f67eb9003ca37fa90094204152 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 8 May 2013 06:10:03 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/solib-aix.c | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2506ce5..f830db6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-05-08 Joel Brobecker + + * 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 PR breakpoints/15413: 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" -- 2.7.4