diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-05-08 16:30:53 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-05-08 16:30:53 +0000 |
commit | bd5ddfe86556d18862982ba3ab87fdef1bfae9a8 (patch) | |
tree | d03ba270df0c257116beab3ddea38e7c1985eabd /gdb/testsuite/gdb.base/step-test.exp | |
parent | 45280a5259f209ba74ed8255674a3fd345307a55 (diff) | |
download | gdb-bd5ddfe86556d18862982ba3ab87fdef1bfae9a8.zip gdb-bd5ddfe86556d18862982ba3ab87fdef1bfae9a8.tar.gz gdb-bd5ddfe86556d18862982ba3ab87fdef1bfae9a8.tar.bz2 |
* gdb.base/commands.exp (watchpoint_command_test): Handle
gdb,no_hardware_watchpoints.
* gdb.base/float.exp: Allow ARM targets without floating point.
* gdb.base/step-test.exp: Allow callee@plt when stepping in.
Diffstat (limited to 'gdb/testsuite/gdb.base/step-test.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/step-test.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/step-test.exp b/gdb/testsuite/gdb.base/step-test.exp index 49bc45e..3710bbe 100644 --- a/gdb/testsuite/gdb.base/step-test.exp +++ b/gdb/testsuite/gdb.base/step-test.exp @@ -128,8 +128,11 @@ proc test_i {name command here there} { test_i "stepi to next line" "stepi" \ ".*${decimal}.*a.*5.* = a.*3" \ ".*${decimal}.*callee.*STEPI" + +# Continue to step until we enter the function. Also keep stepping +# if this passes through a (useless) PLT entry. test_i "stepi into function" "stepi" \ - ".*${decimal}.*callee.*STEPI" \ + "(.*${decimal}.*callee.*STEPI|.* in callee@plt)" \ ".*callee \\(\\) at .*step-test\\.c" # Continue to step until we reach the function's body. This makes it |