From 1b1d37945b97f73da1c3f1bf0548aa476eca3b4f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 25 Sep 2003 20:44:02 +0000 Subject: 2003-09-25 Andrew Cagney * frame.h (deprecated_frame_saved_regs): Rename get_frame_saved_regs. * cris-tdep.c, frame.c, h8300-tdep.c, hppa-tdep.c: Update. * mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. * ns32k-tdep.c, ppc-linux-tdep.c, rs6000-tdep.c: Update. * s390-tdep.c, sh64-tdep.c, stack.c: Update. * v850-tdep.c, vax-tdep.c, xstormy16-tdep.c: Update. --- gdb/h8300-tdep.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/h8300-tdep.c') diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 77faad30482..09fb6a169c1 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -478,7 +478,7 @@ h8300_frame_init_saved_regs (struct frame_info *fi) { CORE_ADDR func_addr, func_end; - if (!get_frame_saved_regs (fi)) + if (!deprecated_get_frame_saved_regs (fi)) { frame_saved_regs_zalloc (fi); @@ -492,7 +492,7 @@ h8300_frame_init_saved_regs (struct frame_info *fi) ? sal.end : get_frame_pc (fi); /* This will fill in fields in fi. */ h8300_examine_prologue (func_addr, limit, get_frame_base (fi), - get_frame_saved_regs (fi), fi); + deprecated_get_frame_saved_regs (fi), fi); } /* Else we're out of luck (can't debug completely stripped code). FIXME. */ @@ -521,7 +521,7 @@ h8300_frame_chain (struct frame_info *thisframe) E_PC_REGNUM); return get_frame_base (thisframe); } - return get_frame_saved_regs (thisframe)[E_SP_REGNUM]; + return deprecated_get_frame_saved_regs (thisframe)[E_SP_REGNUM]; } /* Return the saved PC from this frame. @@ -743,11 +743,11 @@ h8300_pop_frame (void) { /* Don't forget E_SP_REGNUM is a frame_saved_regs struct is the actual value we want, not the address of the value we want. */ - if (get_frame_saved_regs (frame)[regno] && regno != E_SP_REGNUM) + if (deprecated_get_frame_saved_regs (frame)[regno] && regno != E_SP_REGNUM) write_register (regno, read_memory_integer - (get_frame_saved_regs (frame)[regno], BINWORD)); - else if (get_frame_saved_regs (frame)[regno] && regno == E_SP_REGNUM) + (deprecated_get_frame_saved_regs (frame)[regno], BINWORD)); + else if (deprecated_get_frame_saved_regs (frame)[regno] && regno == E_SP_REGNUM) write_register (regno, get_frame_base (frame) + 2 * BINWORD); } -- cgit v1.2.1