2007-03-27 Anton Blanchard <anton@samba.org>
* rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset instead of wordsize when looking for the LR in a stack frame.
This commit is contained in:
parent
4fc771b8c4
commit
de6a76fdbf
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-03-27 Anton Blanchard <anton@samba.org>
|
||||
|
||||
* rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
|
||||
instead of wordsize when looking for the LR in a stack frame.
|
||||
|
||||
2007-03-27 Andreas Schwab <schwab@suse.de>
|
||||
Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
|
|
|
@ -3026,7 +3026,7 @@ rs6000_frame_cache (struct frame_info *next_frame, void **this_cache)
|
|||
if (make_frame)
|
||||
{
|
||||
fdata.frameless = 0;
|
||||
fdata.lr_offset = wordsize;
|
||||
fdata.lr_offset = tdep->lr_frame_offset;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue