aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-10-12 21:52:07 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-10-12 21:52:07 +0000
commit899cff7a33c091c54efd65010dc895342754896e (patch)
tree1a88e4efca601815858d1de510c589d5edacdb58
parente2ec9d29b7b08124192281bf4cdb4c89c80762f8 (diff)
downloadgdb-899cff7a33c091c54efd65010dc895342754896e.zip
gdb-899cff7a33c091c54efd65010dc895342754896e.tar.gz
gdb-899cff7a33c091c54efd65010dc895342754896e.tar.bz2
* solib-target.c (solib_target_parse_libraries)
[HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/solib-target.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 21d2bc4..7a13c9e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-12 Joel Brobecker <brobecker@adacore.com>
+
+ * solib-target.c (solib_target_parse_libraries)
+ [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type.
+
2007-10-12 Jim Blandy <jimb@codesourcery.com>
* serial.h (struct serial_ops): Document read_prim to return zero
diff --git a/gdb/solib-target.c b/gdb/solib-target.c
index 15a2718..680dc2d 100644
--- a/gdb/solib-target.c
+++ b/gdb/solib-target.c
@@ -51,7 +51,7 @@ DEF_VEC_P(lm_info_p);
#if !defined(HAVE_LIBEXPAT)
-static VEC(lm_info_p)
+static VEC(lm_info_p) *
solib_target_parse_libraries (const char *library)
{
static int have_warned;