forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -537,8 +537,8 @@ h8300_init_extra_frame_info (int fromleaf, struct frame_info *fi)
|
||||
|
||||
if (!get_frame_pc (fi))
|
||||
{
|
||||
if (fi->next)
|
||||
deprecated_update_frame_pc_hack (fi, h8300_frame_saved_pc (fi->next));
|
||||
if (get_next_frame (fi))
|
||||
deprecated_update_frame_pc_hack (fi, h8300_frame_saved_pc (get_next_frame (fi)));
|
||||
}
|
||||
h8300_frame_init_saved_regs (fi);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user