aboutsummaryrefslogtreecommitdiff
path: root/gdb/z8k-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-02 22:20:47 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-02 22:20:47 +0000
commit50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029 (patch)
tree050419cbde1952bfc3006082a2d1c3957219ba4a /gdb/z8k-tdep.c
parent440cc0bc1a3338bfbd5e098cb65483bc50c0bd57 (diff)
downloadgdb-50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029.zip
gdb-50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029.tar.gz
gdb-50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029.tar.bz2
2003-01-02 Andrew Cagney <ac131313@redhat.com>
* arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack frame accessor methods. * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. * z8k-tdep.c: Ditto.
Diffstat (limited to 'gdb/z8k-tdep.c')
-rw-r--r--gdb/z8k-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/z8k-tdep.c b/gdb/z8k-tdep.c
index e1aa8fa..be7561b 100644
--- a/gdb/z8k-tdep.c
+++ b/gdb/z8k-tdep.c
@@ -159,7 +159,7 @@ read_memory_pointer (CORE_ADDR x)
CORE_ADDR
z8k_frame_chain (struct frame_info *thisframe)
{
- if (!inside_entry_file (thisframe->pc))
+ if (!inside_entry_file (get_frame_pc (thisframe)))
{
return read_memory_pointer (thisframe->frame);
}
@@ -179,7 +179,7 @@ z8k_frame_init_saved_regs (struct frame_info *frame_info)
int w;
frame_saved_regs_zalloc (frame_info);
- pc = get_pc_function_start (frame_info->pc);
+ pc = get_pc_function_start (get_frame_pc (frame_info));
/* wander down the instruction stream */
examine_frame (pc, frame_info->saved_regs, frame_info->frame);
@@ -240,7 +240,7 @@ frame_find_saved_regs (struct frame_info *fip, struct frame_saved_regs *fsrp)
memset (fsrp, 0, sizeof *fsrp);
- pc = skip_adjust (get_pc_function_start (fip->pc), &locals);
+ pc = skip_adjust (get_pc_function_start (get_frame_pc (fip)), &locals);
{
adr = get_frame_base (fip) - locals;