diff options
author | Randolph Chung <tausq@debian.org> | 2004-12-13 04:06:16 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-12-13 04:06:16 +0000 |
commit | acf86d5407207bccaec185adfd2c0bd33d110b79 (patch) | |
tree | 811ace95e2a0026313a23c7e9595e72dfa2f1bf3 /gdb/hppa-tdep.h | |
parent | 0efcf9dce5173dc3206260261dcf01487e6e8b5d (diff) | |
download | gdb-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/hppa-tdep.h')
-rw-r--r-- | gdb/hppa-tdep.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h index 0b4185a..548c21b 100644 --- a/gdb/hppa-tdep.h +++ b/gdb/hppa-tdep.h @@ -22,6 +22,8 @@ #define HPPA_TDEP_H struct trad_frame_saved_reg; +struct objfile; +struct so_list; /* Register numbers of various important registers. Note that some of these values are "real" register numbers, @@ -97,6 +99,12 @@ struct gdbarch_tdep void (*unwind_adjust_stub) (struct frame_info *next_frame, CORE_ADDR base, struct trad_frame_saved_reg *saved_regs); + /* These are solib-dependent methods. They are really HPUX only, but + we don't have a HPUX-specific tdep vector at the moment. */ + CORE_ADDR (*solib_thread_start_addr) (struct so_list *so); + CORE_ADDR (*solib_get_got_by_pc) (CORE_ADDR addr); + CORE_ADDR (*solib_get_solib_by_pc) (CORE_ADDR addr); + CORE_ADDR (*solib_get_text_base) (struct objfile *objfile); }; /* |