aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-08-18 12:32:47 +0000
committerDaniel Jacobowitz <drow@false.org>2008-08-18 12:32:47 +0000
commit46a9b8ed1beaa6419e936f77a36aff19716ab12e (patch)
tree408b1b05c3f47812cc0b8d3fcb3147392a759d22 /gdb/testsuite
parentc2d805c8d5b11268be2da58d2489bfce272c771b (diff)
downloadgdb-46a9b8ed1beaa6419e936f77a36aff19716ab12e.zip
gdb-46a9b8ed1beaa6419e936f77a36aff19716ab12e.tar.gz
gdb-46a9b8ed1beaa6419e936f77a36aff19716ab12e.tar.bz2
* 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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.arch/powerpc-prologue.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4e12700..831a2f4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * gdb.arch/powerpc-prologue.exp: Correct saved registers.
+
2008-08-17 Tom Tromey <tromey@redhat.com>
* gdb.base/help.exp (help catch): Rewrite.
diff --git a/gdb/testsuite/gdb.arch/powerpc-prologue.exp b/gdb/testsuite/gdb.arch/powerpc-prologue.exp
index 30aa9dc..f6d3f60 100644
--- a/gdb/testsuite/gdb.arch/powerpc-prologue.exp
+++ b/gdb/testsuite/gdb.arch/powerpc-prologue.exp
@@ -84,5 +84,5 @@ gdb_test "backtrace 10" \
"backtrace in optimized"
gdb_test "info frame" \
- ".*Saved registers:.*r30 at.*r31 at.*pc at.*lr at.*" \
+ ".*Saved registers:.*r30 at.*pc at.*lr at.*" \
"saved registers in optimized"