diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-22 16:51:37 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-22 16:51:37 +0000 |
commit | 343af40512fa1c17de0216abb9cbaf8c9ecfa4eb (patch) | |
tree | 492babb469763541af6088d9a2934dd8bbca71a1 /gdb/hppa-tdep.c | |
parent | 86f6f8e7fd201cfa655f25e6066220f14602e19f (diff) | |
download | gdb-343af40512fa1c17de0216abb9cbaf8c9ecfa4eb.zip gdb-343af40512fa1c17de0216abb9cbaf8c9ecfa4eb.tar.gz gdb-343af40512fa1c17de0216abb9cbaf8c9ecfa4eb.tar.bz2 |
2004-02-22 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppa.h: Update copyright.
(DEPRECATED_INIT_FRAME_PC): Delete macro.
(deprecated_init_frame_pc_default): Delete declaration.
(hppa_frame_init_saved_regs): Delete declaration.
(DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
* hppa-tdep.c: Include "arch-utils.h".
(hppa_gdbarch_init): Set deprecated init_frame_pc
and deprecated frame_init_saved_regs.
(hppa_frame_init_saved_regs): Make static.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 06aa5a9..3cf05cf 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -35,6 +35,7 @@ #include "osabi.h" #include "gdb_assert.h" #include "infttrace.h" +#include "arch-utils.h" /* For argument passing to the inferior */ #include "symtab.h" #include "infcall.h" @@ -114,6 +115,8 @@ static unsigned extract_5R_store (unsigned int); static unsigned extract_5r_store (unsigned int); +static void hppa_frame_init_saved_regs (struct frame_info *frame); + static void find_dummy_frame_regs (struct frame_info *, CORE_ADDR *); static int find_proc_framesize (CORE_ADDR); @@ -4226,7 +4229,7 @@ hppa_frame_find_saved_regs (struct frame_info *frame_info, that do not yet implement DEPRECATED_FRAME_INIT_SAVED_REGS. */ /* Find the addresses in which registers are saved in FRAME. */ -void +static void hppa_frame_init_saved_regs (struct frame_info *frame) { if (deprecated_get_frame_saved_regs (frame) == NULL) @@ -5214,6 +5217,8 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) #if 0 #else set_gdbarch_deprecated_saved_pc_after_call (gdbarch, hppa_saved_pc_after_call); + set_gdbarch_deprecated_init_frame_pc (gdbarch, deprecated_init_frame_pc_default); + set_gdbarch_deprecated_frame_init_saved_regs (gdbarch, hppa_frame_init_saved_regs); set_gdbarch_deprecated_init_extra_frame_info (gdbarch, hppa_init_extra_frame_info); set_gdbarch_deprecated_frame_chain (gdbarch, hppa_frame_chain); set_gdbarch_deprecated_frame_chain_valid (gdbarch, hppa_frame_chain_valid); |