aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-12-05 19:41:37 +0000
committerMark Kettenis <kettenis@gnu.org>2004-12-05 19:41:37 +0000
commit792432a57f7ebee516e6de3f719bc4b17dafc453 (patch)
tree8b8c526e54b37113f1535b1d31bde7c26a5eaf1b
parentb1acf338d3974d99af32899092989edeee7fbef4 (diff)
downloadgdb-792432a57f7ebee516e6de3f719bc4b17dafc453.zip
gdb-792432a57f7ebee516e6de3f719bc4b17dafc453.tar.gz
gdb-792432a57f7ebee516e6de3f719bc4b17dafc453.tar.bz2
* somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function.
* config/pa/hppahpux.mt (TDEPFILES): Remove solib.o.
-rw-r--r--gdb/config/pa/hppahpux.mt2
-rw-r--r--gdb/somsolib.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/config/pa/hppahpux.mt b/gdb/config/pa/hppahpux.mt
index a3169e2..8b2b5c8 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 41e938e..3213176 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