aboutsummaryrefslogtreecommitdiff
path: root/gdb/pa64solib.h
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-11-13 02:19:03 +0000
committerRandolph Chung <tausq@debian.org>2004-11-13 02:19:03 +0000
commit89676665cf9b9365020080047d199d67c2122378 (patch)
tree520708c0e97a27839dd183186765b3743d31ed8d /gdb/pa64solib.h
parent4991999e3530290962590480d1de73c5483f8b2a (diff)
downloadgdb-89676665cf9b9365020080047d199d67c2122378.zip
gdb-89676665cf9b9365020080047d199d67c2122378.tar.gz
gdb-89676665cf9b9365020080047d199d67c2122378.tar.bz2
2004-11-12 Randolph Chung <tausq@debian.org>
* 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.
Diffstat (limited to 'gdb/pa64solib.h')
-rw-r--r--gdb/pa64solib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/pa64solib.h b/gdb/pa64solib.h
index 7a3a068..d8b01bb 100644
--- a/gdb/pa64solib.h
+++ b/gdb/pa64solib.h
@@ -22,6 +22,7 @@
struct target_ops;
struct objfile;
struct section_offsets;
+struct so_list;
/* Called to add symbols from a shared library to gdb's symbol table. */
@@ -147,3 +148,5 @@ extern char *pa64_solib_address (CORE_ADDR); /* somsolib.c */
/* If ADDR lies in a shared library, return its name. */
#define PC_SOLIB(addr) pa64_solib_address (addr)
+
+CORE_ADDR pa64_solib_thread_start_addr (struct so_list *so);