diff options
Diffstat (limited to 'gdb/m68hc11-tdep.c')
-rw-r--r-- | gdb/m68hc11-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index 2a12144..4a1d077 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -845,14 +845,14 @@ m68hc11_frame_unwind_cache (struct frame_info *this_frame, /* Adjust all the saved registers so that they contain addresses and not offsets. */ for (i = 0; i < gdbarch_num_cooked_regs (gdbarch); i++) - if (trad_frame_addr_p (info->saved_regs, i)) + if (info->saved_regs[i].is_addr ()) { info->saved_regs[i].set_addr (info->saved_regs[i].addr () + this_base); } /* The previous frame's SP needed to be computed. Save the computed value. */ - trad_frame_set_value (info->saved_regs, HARD_SP_REGNUM, info->prev_sp); + info->saved_regs[HARD_SP_REGNUM].set_value (info->prev_sp); return info; } |