diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mn10300-tdep.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1602841..21ae335 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2008-07-15 Daniel Jacobowitz <dan@codesourcery.com> + * mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned. + +2008-07-15 Daniel Jacobowitz <dan@codesourcery.com> + * frame.c (frame_sp_unwind): Delete. (get_frame_sp): Do not use it. * frame.h (frame_sp_unwind): Delete prototype. diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 37d0b84..88cb150 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -324,11 +324,11 @@ set_reg_offsets (struct frame_info *fi, if (frame_in_fp) { - base = frame_unwind_register_unsigned (fi, E_A3_REGNUM); + base = get_frame_register_unsigned (fi, E_A3_REGNUM); } else { - base = frame_unwind_register_unsigned (fi, E_SP_REGNUM) + base = get_frame_register_unsigned (fi, E_SP_REGNUM) + stack_extra_size; } |