diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-08 15:56:38 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-08 15:56:38 +0000 |
commit | cfe8c00733fc74169fd6229abe1c02b2aac25632 (patch) | |
tree | a4a3c512b3b59ba3b19a7b13a1a5bcb6e697c658 /gdb/xstormy16-tdep.c | |
parent | c4defd5b4c60ea955b0b7244906f21209ed82e48 (diff) | |
download | gdb-cfe8c00733fc74169fd6229abe1c02b2aac25632.tar.gz |
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use get_next_frame.
* arm-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: Ditto.
* mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
* v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
* xstormy16-tdep.c: Ditto.
Diffstat (limited to 'gdb/xstormy16-tdep.c')
-rw-r--r-- | gdb/xstormy16-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index 5e9a28a5a17..a44a9c3fc91 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -803,8 +803,8 @@ xstormy16_init_extra_frame_info (int fromleaf, struct frame_info *fi) Fortunately this will never happen from the outermost frame, so we should be able to get the saved pc from the next frame. */ - if (fi->next) - deprecated_update_frame_pc_hack (fi, xstormy16_frame_saved_pc (fi->next)); + if (get_next_frame (fi)) + deprecated_update_frame_pc_hack (fi, xstormy16_frame_saved_pc (get_next_frame (fi))); } /* Take care of the saved_regs right here (non-lazy). */ |