From b82f24bfcccac22405fdd57699093898abe88837 Mon Sep 17 00:00:00 2001 From: Randolph Chung Date: Sat, 13 Nov 2004 02:24:34 +0000 Subject: [PATCH] 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/ChangeLog | 6 +++--- gdb/pa64solib.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 24523d3b70..12f994fc8f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -18,10 +18,10 @@ * config/pa/hpux11w.mh (NATDEPFILES): Likewise. * config/pa/hppa64.mt (TDEPFILES): Put target-specific support - files for symbol reading and shared library handling here. + 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. + (PA_SOM_ONLY): Define so we can build a 32-bit SOM only target + without bringing in 64-bit support. 2004-11-12 Andrew Cagney diff --git a/gdb/pa64solib.c b/gdb/pa64solib.c index 076d6cbc34..06237df040 100644 --- a/gdb/pa64solib.c +++ b/gdb/pa64solib.c @@ -923,7 +923,7 @@ threshold in megabytes. Is ignored when using `sharedlibrary'.", /* Get some HPUX-specific data from a shared lib. */ CORE_ADDR -so_lib_thread_start_addr (struct so_list *so) +pa64_solib_thread_start_addr (struct so_list *so) { return so->pa64_solib_desc.tls_start_addr; }