aboutsummaryrefslogtreecommitdiff
path: root/gdb/vax-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-25 20:44:02 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-25 20:44:02 +0000
commit1b1d37945b97f73da1c3f1bf0548aa476eca3b4f (patch)
tree4b914a9753354b495fe50a3ee4a300c663a1a720 /gdb/vax-tdep.c
parentecc2063b6cb68ff49fcaf954aa825591c772c886 (diff)
downloadgdb-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/vax-tdep.c')
-rw-r--r--gdb/vax-tdep.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c
index 2bbe421..03a50a0 100644
--- a/gdb/vax-tdep.c
+++ b/gdb/vax-tdep.c
@@ -93,7 +93,7 @@ vax_frame_init_saved_regs (struct frame_info *frame)
int regnum, regmask;
CORE_ADDR next_addr;
- if (get_frame_saved_regs (frame))
+ if (deprecated_get_frame_saved_regs (frame))
return;
frame_saved_regs_zalloc (frame);
@@ -107,18 +107,18 @@ vax_frame_init_saved_regs (struct frame_info *frame)
for (regnum = 0; regnum < VAX_AP_REGNUM; regnum++)
{
if (regmask & (1 << regnum))
- get_frame_saved_regs (frame)[regnum] = next_addr += 4;
+ deprecated_get_frame_saved_regs (frame)[regnum] = next_addr += 4;
}
- get_frame_saved_regs (frame)[SP_REGNUM] = next_addr + 4;
+ deprecated_get_frame_saved_regs (frame)[SP_REGNUM] = next_addr + 4;
if (regmask & (1 << DEPRECATED_FP_REGNUM))
- get_frame_saved_regs (frame)[SP_REGNUM] +=
+ deprecated_get_frame_saved_regs (frame)[SP_REGNUM] +=
4 + (4 * read_memory_integer (next_addr + 4, 4));
- get_frame_saved_regs (frame)[PC_REGNUM] = get_frame_base (frame) + 16;
- get_frame_saved_regs (frame)[DEPRECATED_FP_REGNUM] = get_frame_base (frame) + 12;
- get_frame_saved_regs (frame)[VAX_AP_REGNUM] = get_frame_base (frame) + 8;
- get_frame_saved_regs (frame)[PS_REGNUM] = get_frame_base (frame) + 4;
+ deprecated_get_frame_saved_regs (frame)[PC_REGNUM] = get_frame_base (frame) + 16;
+ deprecated_get_frame_saved_regs (frame)[DEPRECATED_FP_REGNUM] = get_frame_base (frame) + 12;
+ deprecated_get_frame_saved_regs (frame)[VAX_AP_REGNUM] = get_frame_base (frame) + 8;
+ deprecated_get_frame_saved_regs (frame)[PS_REGNUM] = get_frame_base (frame) + 4;
}
/* Get saved user PC for sigtramp from sigcontext for BSD style sigtramp. */