aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2cfi.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/dwarf2cfi.c
parent440cc0bc1a3338bfbd5e098cb65483bc50c0bd57 (diff)
downloadfsf-binutils-gdb-50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029.zip
fsf-binutils-gdb-50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029.tar.gz
fsf-binutils-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/dwarf2cfi.c')
-rw-r--r--gdb/dwarf2cfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2cfi.c b/gdb/dwarf2cfi.c
index 75c3c4d..22b9983 100644
--- a/gdb/dwarf2cfi.c
+++ b/gdb/dwarf2cfi.c
@@ -1784,7 +1784,7 @@ cfi_init_extra_frame_info (int fromleaf, struct frame_info *fi)
}
else
{
- UNWIND_CONTEXT (fi)->ra = fi->pc + 1;
+ UNWIND_CONTEXT (fi)->ra = get_frame_pc (fi) + 1;
frame_state_for (UNWIND_CONTEXT (fi), fs);
update_context (UNWIND_CONTEXT (fi), fs, 0);
}