mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
* mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.
This commit is contained in:
parent
d56907c103
commit
ba2c6aec01
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user