diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-07-15 18:52:17 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-07-15 18:52:17 +0000 |
commit | ba2c6aec01a024592f7dce65f0628a93e39f4abe (patch) | |
tree | 35cf21c90414b5195f0cb578666170b87e5a248e | |
parent | d56907c103c398e1f0d67e00b70a4b3cf0e4189b (diff) | |
download | gdb-ba2c6aec01a024592f7dce65f0628a93e39f4abe.zip gdb-ba2c6aec01a024592f7dce65f0628a93e39f4abe.tar.gz gdb-ba2c6aec01a024592f7dce65f0628a93e39f4abe.tar.bz2 |
* mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.
-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; } |