* rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl,
authorDaniel Jacobowitz <drow@false.org>
Mon, 18 Aug 2008 12:32:47 +0000 (12:32 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 18 Aug 2008 12:32:47 +0000 (12:32 +0000)
commit46a9b8ed1beaa6419e936f77a36aff19716ab12e
tree408b1b05c3f47812cc0b8d3fcb3147392a759d22
parentc2d805c8d5b11268be2da58d2489bfce272c771b
* rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl,
lr_register.
(rs6000_in_function_epilogue_p): Check for bctr.
(skip_prologue): Initialize lr_register.  Set lr_reg to a register
number.  Set gpr_mask and used_bl.  Continue scanning while some
expected registers are not saved.  Set lr_register if LR is not
stored.
(rs6000_frame_cache): Handle gpr_mask and lr_register.

* gdb.arch/powerpc-prologue.exp: Correct saved registers.
gdb/ChangeLog
gdb/rs6000-tdep.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/powerpc-prologue.exp