OSDN Git Service

* rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl,
authorDaniel Jacobowitz <dan@debian.org>
Mon, 18 Aug 2008 12:32:46 +0000 (12:32 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Mon, 18 Aug 2008 12:32:46 +0000 (12:32 +0000)
commit3e83578e0041908e8694cc64b06510f2053a5e20
treeb86df923ef15ef57b486f4c2463bd9d7cf18b116
parent59caac4b1d54ff7b65cc3a7aaa0c5e94c7ffed13
* 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