aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>2002-02-09 18:32:14 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>2002-02-09 18:32:14 +0000
commitfb39c8f3a9269351c2aeca01caf9f866a5a7eec9 (patch)
tree5139fd9a9613ce9b34306cecbeebe1d345ae9fc8
parent0b87a11db92c78d9ddf3b1de2599202558c2a054 (diff)
downloadfsf-binutils-gdb-fb39c8f3a9269351c2aeca01caf9f866a5a7eec9.zip
fsf-binutils-gdb-fb39c8f3a9269351c2aeca01caf9f866a5a7eec9.tar.gz
fsf-binutils-gdb-fb39c8f3a9269351c2aeca01caf9f866a5a7eec9.tar.bz2
* 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.
-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.");