summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/step-test.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-05-08 16:30:53 +0000
committerDaniel Jacobowitz <drow@false.org>2008-05-08 16:30:53 +0000
commitbd5ddfe86556d18862982ba3ab87fdef1bfae9a8 (patch)
treed03ba270df0c257116beab3ddea38e7c1985eabd /gdb/testsuite/gdb.base/step-test.exp
parent45280a5259f209ba74ed8255674a3fd345307a55 (diff)
* 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.exp5
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 49bc45e62a..3710bbe2e2 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