diff options
author | Randolph Chung <tausq@debian.org> | 2004-11-13 02:19:03 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-11-13 02:19:03 +0000 |
commit | 89676665cf9b9365020080047d199d67c2122378 (patch) | |
tree | 520708c0e97a27839dd183186765b3743d31ed8d /gdb/somsolib.c | |
parent | 4991999e3530290962590480d1de73c5483f8b2a (diff) | |
download | gdb-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/somsolib.c')
-rw-r--r-- | gdb/somsolib.c | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c index e70d6bd..41e938e 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -51,6 +51,14 @@ #define O_BINARY 0 #endif +#ifndef SHL_LOAD +#define SHL_LOAD 4 +#endif + +#ifndef SHL_UNLOAD +#define SHL_UNLOAD 8 +#endif + /* Uncomment this to turn on some debugging output. */ @@ -1557,25 +1565,6 @@ som_solib_restart (void) } -/* LOCAL FUNCTION - - no_shared_libraries -- handle command to explicitly discard symbols - from shared libraries. - - DESCRIPTION - - Implements the command "nosharedlibrary", which discards symbols - that have been auto-loaded from shared libraries. Symbols from - shared libraries that were added by explicit request of the user - are not discarded. Also called from remote.c. */ - -void -no_shared_libraries (char *ignored, int from_tty) -{ - /* FIXME */ -} - - void _initialize_som_solib (void) { @@ -1621,7 +1610,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) +som_solib_thread_start_addr (struct so_list *so) { return so->som_solib.tsd_start_addr; } |