aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/pa
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-12-13 04:06:16 +0000
committerRandolph Chung <tausq@debian.org>2004-12-13 04:06:16 +0000
commitacf86d5407207bccaec185adfd2c0bd33d110b79 (patch)
tree811ace95e2a0026313a23c7e9595e72dfa2f1bf3 /gdb/config/pa
parent0efcf9dce5173dc3206260261dcf01487e6e8b5d (diff)
downloadgdb-acf86d5407207bccaec185adfd2c0bd33d110b79.zip
gdb-acf86d5407207bccaec185adfd2c0bd33d110b79.tar.gz
gdb-acf86d5407207bccaec185adfd2c0bd33d110b79.tar.bz2
2004-12-13 Randolph Chung <tausq@debian.org>
* Makefile.in (pa64solib_h, somsolib_h): Delete. (solib_pa64_h, solib_som_h): New. (HFILES_NO_SRCDIR, ALLDEPFILES): Replace somsolib.h with solib-som.h. (hppa-hpux-tdep.o, hpread.o): Update dependencies. (pa64solib.o, somsolib.o): Delete. (solib-pa64.o, solib-som.o): New. * hppa-hpux-tdep.c: Include new solib interfaces. (hppa_hpux_som_init_abi): Attach to SOM solib interface. (hppa_hpux_elf_init_abi): Attach to PA64 ELF solib interface. * hppa-tdep.c (internalize_unwinds): If solib_get_text_base method is available, use it to determine the base of unwind records. * hppa-tdep.h (gdbarch_tdep): Add new solib methods. * hpread.c: Replace somsolib.h with solib-som.h. (hpread_process_one_debug_symbol): Use target vector to get thread start address. * config/pa/hppa64.mt (TDEPFILES): Use new solib interface. * config/pa/hppahpux.mt (TDEPFILES): Likewise. * config/pa/hpux.mh (NATDEPFILES): Delete references to target objects. * config/pa/tm-hppah.h: Use new solib interface.
Diffstat (limited to 'gdb/config/pa')
-rw-r--r--gdb/config/pa/hppa64.mt2
-rw-r--r--gdb/config/pa/hppahpux.mt2
-rw-r--r--gdb/config/pa/hpux.mh2
-rw-r--r--gdb/config/pa/tm-hppah.h12
4 files changed, 4 insertions, 14 deletions
diff --git a/gdb/config/pa/hppa64.mt b/gdb/config/pa/hppa64.mt
index c0942b5..ad93375 100644
--- a/gdb/config/pa/hppa64.mt
+++ b/gdb/config/pa/hppa64.mt
@@ -1,3 +1,3 @@
# Target: HP PA-RISC 2.0 running HPUX 11.00 in wide mode
-TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o pa64solib.o somsolib.o somread.o hpread.o solib.o
+TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o solib-som.o solib-pa64.o somread.o hpread.o solib.o
DEPRECATED_TM_FILE= tm-hppa64.h
diff --git a/gdb/config/pa/hppahpux.mt b/gdb/config/pa/hppahpux.mt
index b4e9ba0..6787c6f 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 corelow.o somread.o hpread.o somsolib.o
+TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o corelow.o somread.o hpread.o solib-som.o solib-pa64.o solib.o
DEPRECATED_TM_FILE= tm-hppah.h
diff --git a/gdb/config/pa/hpux.mh b/gdb/config/pa/hpux.mh
index 30d349e..3151120 100644
--- a/gdb/config/pa/hpux.mh
+++ b/gdb/config/pa/hpux.mh
@@ -1,3 +1,3 @@
# Host: PA-RISC HP-UX
NATDEPFILES= fork-child.o inf-ptrace.o inf-ttrace.o \
- hppa-hpux-nat.o hpread.o somread.o somsolib.o
+ hppa-hpux-nat.o
diff --git a/gdb/config/pa/tm-hppah.h b/gdb/config/pa/tm-hppah.h
index 43f447c..8d2f518 100644
--- a/gdb/config/pa/tm-hppah.h
+++ b/gdb/config/pa/tm-hppah.h
@@ -24,17 +24,7 @@
struct frame_info;
-/* The solib hooks are not really designed to have a list of hook
- and handler routines. So until we clean up those interfaces you
- either get SOM shared libraries or HP's unusual PA64 ELF shared
- libraries, but not both. */
-#ifdef GDB_TARGET_IS_HPPA_20W
-#include "pa64solib.h"
-#endif
-
-#ifndef GDB_TARGET_IS_HPPA_20W
-#include "somsolib.h"
-#endif
+#include "solib.h" /* Support for shared libraries. */
/* For HP-UX on PA-RISC we have an implementation
for the exception handling target op (in hppa-tdep.c) */