* mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.

This commit is contained in:
Daniel Jacobowitz 2008-07-15 18:52:17 +00:00
parent d56907c103
commit ba2c6aec01
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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;
}