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 + + * 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 * 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.");