From 792432a57f7ebee516e6de3f719bc4b17dafc453 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 5 Dec 2004 19:41:37 +0000 Subject: [PATCH] * somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function. * config/pa/hppahpux.mt (TDEPFILES): Remove solib.o. --- gdb/config/pa/hppahpux.mt | 2 +- gdb/somsolib.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/config/pa/hppahpux.mt b/gdb/config/pa/hppahpux.mt index a3169e26c6..8b2b5c8caf 100644 --- a/gdb/config/pa/hppahpux.mt +++ b/gdb/config/pa/hppahpux.mt @@ -1,4 +1,4 @@ # Target: HP PA-RISC running hpux MT_CFLAGS = -DPA_SOM_ONLY=1 -TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o somread.o hpread.o somsolib.o solib.o +TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o somread.o hpread.o somsolib.o DEPRECATED_TM_FILE= tm-hppah.h diff --git a/gdb/somsolib.c b/gdb/somsolib.c index 41e938e72e..321317615b 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -1614,3 +1614,10 @@ som_solib_thread_start_addr (struct so_list *so) { return so->som_solib.tsd_start_addr; } + +#ifdef PA_SOM_ONLY +void +no_shared_libraries (char *ignored, int from_tty) +{ +} +#endif