aboutsummaryrefslogtreecommitdiff
path: root/gdb/h8300-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/h8300-tdep.c')
-rw-r--r--gdb/h8300-tdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index be55327..087084c 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -493,10 +493,9 @@ h8300_frame_chain (struct frame_info *thisframe)
{
if (PC_IN_CALL_DUMMY (thisframe->pc, thisframe->frame, thisframe->frame))
{ /* initialize the from_pc now */
- thisframe->extra_info->from_pc = generic_read_register_dummy (
- thisframe->pc,
- thisframe->frame,
- E_PC_REGNUM);
+ thisframe->extra_info->from_pc =
+ deprecated_read_register_dummy (thisframe->pc, thisframe->frame,
+ E_PC_REGNUM);
return thisframe->frame;
}
return thisframe->saved_regs[E_SP_REGNUM];
@@ -511,7 +510,8 @@ static CORE_ADDR
h8300_frame_saved_pc (struct frame_info *frame)
{
if (PC_IN_CALL_DUMMY (frame->pc, frame->frame, frame->frame))
- return generic_read_register_dummy (frame->pc, frame->frame, E_PC_REGNUM);
+ return deprecated_read_register_dummy (frame->pc, frame->frame,
+ E_PC_REGNUM);
else
return frame->extra_info->from_pc;
}