aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-26 15:28:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-26 15:28:46 +0000
commitda130f98ef0a1bfee17dbc6ad1cbfe7f2c92a0c3 (patch)
treec0bcb5ea7a8498acb7291bf2d9c50cb30b0091ce /gdb/sh-tdep.c
parente5014cdae227efbff90d0d95443dea69d2c0f688 (diff)
downloadgdb-da130f98ef0a1bfee17dbc6ad1cbfe7f2c92a0c3.zip
gdb-da130f98ef0a1bfee17dbc6ad1cbfe7f2c92a0c3.tar.gz
gdb-da130f98ef0a1bfee17dbc6ad1cbfe7f2c92a0c3.tar.bz2
* frame.h (deprecated_generic_find_dummy_frame): Rename
generic_find_dummy_frame. * blockframe.c (generic_find_dummy_frame): Make static. (deprecated_generic_find_dummy_frame): New function. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace generic_find_dummy_frame with deprecated_find_dummy_frame. (sh64_nofp_frame_init_saved_regs): Ditto. (sh_fp_frame_init_saved_regs): Ditto. * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. (s390_frame_chain): Ditto. * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 2ef89fa..d6bedd7 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -1046,7 +1046,7 @@ sh_nofp_frame_init_saved_regs (struct frame_info *fi)
int opc;
int insn;
int r3_val = 0;
- char *dummy_regs = generic_find_dummy_frame (fi->pc, fi->frame);
+ char *dummy_regs = deprecated_generic_find_dummy_frame (fi->pc, fi->frame);
if (fi->saved_regs == NULL)
frame_saved_regs_zalloc (fi);
@@ -1385,7 +1385,7 @@ sh64_nofp_frame_init_saved_regs (struct frame_info *fi)
int insn_size;
int gdb_register_number;
int register_number;
- char *dummy_regs = generic_find_dummy_frame (fi->pc, fi->frame);
+ char *dummy_regs = deprecated_generic_find_dummy_frame (fi->pc, fi->frame);
struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
if (fi->saved_regs == NULL)
@@ -1586,7 +1586,7 @@ sh_fp_frame_init_saved_regs (struct frame_info *fi)
int opc;
int insn;
int r3_val = 0;
- char *dummy_regs = generic_find_dummy_frame (fi->pc, fi->frame);
+ char *dummy_regs = deprecated_generic_find_dummy_frame (fi->pc, fi->frame);
struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
if (fi->saved_regs == NULL)
@@ -1814,8 +1814,8 @@ sh64_get_saved_register (char *raw_buffer, int *optimized, CORE_ADDR *addrp,
*lval = not_lval;
if (raw_buffer)
memcpy (raw_buffer,
- generic_find_dummy_frame (frame->pc, frame->frame) +
- REGISTER_BYTE (regnum),
+ (deprecated_generic_find_dummy_frame (frame->pc, frame->frame)
+ + REGISTER_BYTE (regnum)),
REGISTER_RAW_SIZE (regnum));
return;
}