diff options
author | Joel Brobecker <brobecker@gnat.com> | 2003-06-06 00:22:00 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2003-06-06 00:22:00 +0000 |
commit | 7d773d96dba39b73178c6ea4913cfa8f9a0ee4c5 (patch) | |
tree | dfc2bdefdcac85ebb6c227d940846e98e24575f0 /gdb/hppa-hpux-tdep.c | |
parent | 66e3c0bad329fe39fc27b8e07b10e30a2f70bf7e (diff) | |
download | gdb-7d773d96dba39b73178c6ea4913cfa8f9a0ee4c5.zip gdb-7d773d96dba39b73178c6ea4913cfa8f9a0ee4c5.tar.gz gdb-7d773d96dba39b73178c6ea4913cfa8f9a0ee4c5.tar.bz2 |
* hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting
pc_in_sigtramp multiarch method.
(hppa_hpux_som_init_abi): Use it.
(hppa_hpux_elf_init_abi): Likewise.
* config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this
macro has been multiarched.
* config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this
macro here, as hppa64 isn't multiarched yet.
Diffstat (limited to 'gdb/hppa-hpux-tdep.c')
-rw-r--r-- | gdb/hppa-hpux-tdep.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c index cc50e02..0fb7c8f 100644 --- a/gdb/hppa-hpux-tdep.c +++ b/gdb/hppa-hpux-tdep.c @@ -94,15 +94,22 @@ hppa_hpux_frame_find_saved_regs_in_sigtramp (struct frame_info *fi, } } +static void +hppa_hpux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) +{ + set_gdbarch_pc_in_sigtramp (gdbarch, hppa_hpux_pc_in_sigtramp); +} static void hppa_hpux_som_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { + hppa_hpux_init_abi (info, gdbarch); } static void hppa_hpux_elf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { + hppa_hpux_init_abi (info, gdbarch); } void |