From 50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 2 Jan 2003 22:20:47 +0000 Subject: 2003-01-02 Andrew Cagney * 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. --- gdb/z8k-tdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/z8k-tdep.c') 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; -- cgit v1.1