From fb39c8f3a9269351c2aeca01caf9f866a5a7eec9 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Sat, 9 Feb 2002 18:32:14 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 7 +++++++ gdb/xcoffsolib.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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."); -- 2.30.2