From 89676665cf9b9365020080047d199d67c2122378 Mon Sep 17 00:00:00 2001 From: Randolph Chung Date: Sat, 13 Nov 2004 02:19:03 +0000 Subject: 2004-11-12 Randolph Chung * pa64solib.c (pa64_solib_thread_start_addr): Rename from so_lib_thread_start_addr. * pa64solib.h (so_list): Forward declare. (pa64_solib_thread_start_addr): Prototype. * somsolib.c (SHL_LOAD, SHL_UNLOAD): Define if not already defined. (no_shared_libraries): Remove. (som_solib_thread_start_addr): Rename from so_lib_thread_start_addr. * somsolib.h (som_solib_thread_start_addr): Likewise; prototype. * hpread.c (hpread_process_one_debug_symbol): Use either the som or the elf solib handler to find the start address. * config/pa/hppahpux.mh (NATDEPFILES): Move target-specific support files to the target makefile. * config/pa/hpux1020.mh (NATDEPFILES): Likewise. * config/pa/hpux11.mh (NATDEPFILES): Likewise. * config/pa/hpux11w.mh (NATDEPFILES): Likewise. * config/pa/hppa64.mt (TDEPFILES): Put target-specific support files for symbol reading and shared library handling here. * config/pa/hppahpux.mt (TDEPFILES): Likewise. (PA_SOM_ONLY): Define so we can build a 32-bit SOM only target without bringing in 64-bit support. --- gdb/config/pa/hppa64.mt | 2 +- gdb/config/pa/hppahpux.mh | 2 +- gdb/config/pa/hppahpux.mt | 3 ++- gdb/config/pa/hpux1020.mh | 2 +- gdb/config/pa/hpux11.mh | 2 +- gdb/config/pa/hpux11w.mh | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) (limited to 'gdb/config/pa') diff --git a/gdb/config/pa/hppa64.mt b/gdb/config/pa/hppa64.mt index f7baa4a..c0942b5 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 +TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o pa64solib.o somsolib.o somread.o hpread.o solib.o DEPRECATED_TM_FILE= tm-hppa64.h diff --git a/gdb/config/pa/hppahpux.mh b/gdb/config/pa/hppahpux.mh index b80a085..f07ddab 100644 --- a/gdb/config/pa/hppahpux.mh +++ b/gdb/config/pa/hppahpux.mh @@ -1,6 +1,6 @@ # Host: Hewlett-Packard PA-RISC machine, running HPUX NAT_FILE= nm-hppah.h -NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o somread.o infptrace.o hpread.o somsolib.o +NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infptrace.o HOST_IPC=-DBSD_IPC -DPOSIX_WAIT diff --git a/gdb/config/pa/hppahpux.mt b/gdb/config/pa/hppahpux.mt index f997d89..a3169e2 100644 --- a/gdb/config/pa/hppahpux.mt +++ b/gdb/config/pa/hppahpux.mt @@ -1,3 +1,4 @@ # Target: HP PA-RISC running hpux -TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o +MT_CFLAGS = -DPA_SOM_ONLY=1 +TDEPFILES= hppa-tdep.o hppa-hpux-tdep.o somread.o hpread.o somsolib.o solib.o DEPRECATED_TM_FILE= tm-hppah.h diff --git a/gdb/config/pa/hpux1020.mh b/gdb/config/pa/hpux1020.mh index ac25383..647130e 100644 --- a/gdb/config/pa/hpux1020.mh +++ b/gdb/config/pa/hpux1020.mh @@ -7,6 +7,6 @@ MH_CFLAGS = -Dvfork=fork NAT_FILE= nm-hppah.h -NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infptrace.o somread.o hpread.o somsolib.o +NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infptrace.o HOST_IPC=-DBSD_IPC -DPOSIX_WAIT diff --git a/gdb/config/pa/hpux11.mh b/gdb/config/pa/hpux11.mh index 1ad2a4e..d3aeb33 100644 --- a/gdb/config/pa/hpux11.mh +++ b/gdb/config/pa/hpux11.mh @@ -7,6 +7,6 @@ MH_CFLAGS = -Dvfork=fork NAT_FILE= nm-hppah11.h -NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o somread.o hpread.o somsolib.o +NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o HOST_IPC=-DBSD_IPC -DPOSIX_WAIT diff --git a/gdb/config/pa/hpux11w.mh b/gdb/config/pa/hpux11w.mh index 51c9f2c..d3aeb33 100644 --- a/gdb/config/pa/hpux11w.mh +++ b/gdb/config/pa/hpux11w.mh @@ -7,6 +7,6 @@ MH_CFLAGS = -Dvfork=fork NAT_FILE= nm-hppah11.h -NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o hpread.o pa64solib.o solib.o +NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o HOST_IPC=-DBSD_IPC -DPOSIX_WAIT -- cgit v1.1