diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-25 20:44:02 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-25 20:44:02 +0000 |
commit | 1b1d37945b97f73da1c3f1bf0548aa476eca3b4f (patch) | |
tree | 4b914a9753354b495fe50a3ee4a300c663a1a720 /gdb/v850-tdep.c | |
parent | ecc2063b6cb68ff49fcaf954aa825591c772c886 (diff) | |
download | gdb-1b1d37945b97f73da1c3f1bf0548aa476eca3b4f.zip gdb-1b1d37945b97f73da1c3f1bf0548aa476eca3b4f.tar.gz gdb-1b1d37945b97f73da1c3f1bf0548aa476eca3b4f.tar.bz2 |
2003-09-25 Andrew Cagney <cagney@redhat.com>
* 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.
Diffstat (limited to 'gdb/v850-tdep.c')
-rw-r--r-- | gdb/v850-tdep.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index 2b239b6..030e201 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -810,8 +810,8 @@ v850_find_callers_reg (struct frame_info *fi, int regnum) get_frame_base (fi))) return deprecated_read_register_dummy (get_frame_pc (fi), get_frame_base (fi), regnum); - else if (get_frame_saved_regs (fi)[regnum] != 0) - return read_memory_unsigned_integer (get_frame_saved_regs (fi)[regnum], + else if (deprecated_get_frame_saved_regs (fi)[regnum] != 0) + return read_memory_unsigned_integer (deprecated_get_frame_saved_regs (fi)[regnum], v850_register_raw_size (regnum)); return read_register (regnum); @@ -900,9 +900,9 @@ v850_pop_frame (void) write_register (E_PC_REGNUM, DEPRECATED_FRAME_SAVED_PC (frame)); for (regnum = 0; regnum < E_NUM_REGS; regnum++) - if (get_frame_saved_regs (frame)[regnum] != 0) + if (deprecated_get_frame_saved_regs (frame)[regnum] != 0) write_register (regnum, - read_memory_unsigned_integer (get_frame_saved_regs (frame)[regnum], + read_memory_unsigned_integer (deprecated_get_frame_saved_regs (frame)[regnum], v850_register_raw_size (regnum))); write_register (E_SP_REGNUM, get_frame_base (frame)); @@ -1117,7 +1117,7 @@ v850_frame_init_saved_regs (struct frame_info *fi) struct pifsr pifsrs[E_NUM_REGS + 1], *pifsr; CORE_ADDR func_addr, func_end; - if (!get_frame_saved_regs (fi)) + if (!deprecated_get_frame_saved_regs (fi)) { frame_saved_regs_zalloc (fi); @@ -1140,10 +1140,10 @@ v850_frame_init_saved_regs (struct frame_info *fi) for (pifsr = pifsrs; pifsr->framereg; pifsr++) { - get_frame_saved_regs (fi)[pifsr->reg] = pifsr->offset + get_frame_base (fi); + deprecated_get_frame_saved_regs (fi)[pifsr->reg] = pifsr->offset + get_frame_base (fi); if (pifsr->framereg == E_SP_REGNUM) - get_frame_saved_regs (fi)[pifsr->reg] += pi.frameoffset; + deprecated_get_frame_saved_regs (fi)[pifsr->reg] += pi.frameoffset; } } /* Else we're out of luck (can't debug completely stripped code). |