aboutsummaryrefslogtreecommitdiff
path: root/gdb/cris-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-03 18:23:01 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-03 18:23:01 +0000
commit8ccd593be0c584a884733323ce60185de826df46 (patch)
treeb65e12420f9de00c07c0bfea50d433ad5751e75f /gdb/cris-tdep.c
parentfa59d133f4102c9b44d974d5a3b64c5d26aec15b (diff)
downloadgdb-8ccd593be0c584a884733323ce60185de826df46.zip
gdb-8ccd593be0c584a884733323ce60185de826df46.tar.gz
gdb-8ccd593be0c584a884733323ce60185de826df46.tar.bz2
2003-01-03 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use deprecated_update_frame_base_hack. * avr-tdep.c, cris-tdep.c: Ditto. * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r--gdb/cris-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index c370ef7..52f20bb 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -1217,8 +1217,8 @@ cris_init_extra_frame_info (int fromleaf, struct frame_info *fi)
{
/* We need to setup fi->frame here because run_stack_dummy gets it wrong
by assuming it's always FP. */
- fi->frame = deprecated_read_register_dummy (get_frame_pc (fi), fi->frame,
- SP_REGNUM);
+ deprecated_update_frame_base_hack (fi, deprecated_read_register_dummy (get_frame_pc (fi), fi->frame,
+ SP_REGNUM));
fi->extra_info->return_pc =
deprecated_read_register_dummy (get_frame_pc (fi), fi->frame, PC_REGNUM);