summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schauer <pes@regent.e-technik.tu-muenchen.de>2002-02-09 18:32:14 +0000
committerPeter Schauer <pes@regent.e-technik.tu-muenchen.de>2002-02-09 18:32:14 +0000
commit2dcfc07dc705a5e8920dd8bcbec6b46d1f3c13e1 (patch)
tree7fec8dafcb50a0d86ce3dbd759bdc4043ce2e52e
parent20791812879c29eefc080027f6e40fbdd9b5bafb (diff)
downloadgdb-2dcfc07dc705a5e8920dd8bcbec6b46d1f3c13e1.tar.gz
* 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 c193f8cfc99..18c0ea15316 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 00e51f30eca..99d2cc8e8f7 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.");