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:
Daniel Jacobowitz 2007-03-27 19:04:37 +00:00
parent 4fc771b8c4
commit de6a76fdbf
2 changed files with 6 additions and 1 deletions

View file

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

View file

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