aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/xcoffsolib.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c193f8c..18c0ea1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
+
+ * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
+ _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
+ now _initialize_xcoffsolib gets called again and overrides the
+ commands from solib.c in a native configuration.
+
2002-02-09 Mark Kettenis <kettenis@gnu.org>
* doublest.c (store_typed_floating): Don't try to return a value.
diff --git a/gdb/xcoffsolib.c b/gdb/xcoffsolib.c
index 00e51f3..99d2cc8 100644
--- a/gdb/xcoffsolib.c
+++ b/gdb/xcoffsolib.c
@@ -176,7 +176,7 @@ no_shared_libraries (char *ignored, int from_tty)
}
void
-_initialize_solib (void)
+_initialize_xcoffsolib (void)
{
add_com ("sharedlibrary", class_files, sharedlibrary_command,
"Load shared object library symbols for files matching REGEXP.");