summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/step-test.exp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2000-02-03 04:14:45 +0000
committerJason Molenda <jmolenda@apple.com>2000-02-03 04:14:45 +0000
commit8b93c6380e299446e645ece29bf77d26f5713529 (patch)
tree9f06d80fcf4b95cd76cbceda50de2a454da9287f /gdb/testsuite/gdb.base/step-test.exp
parent6bb9f1226aa9f328aba73bcc6c0ecaa0525a8931 (diff)
downloadbinutils-gdb-8b93c6380e299446e645ece29bf77d26f5713529.tar.gz
import gdb-2000-02-02 snapshot
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 903700e540c..c0acf812cd4 100644
--- a/gdb/testsuite/gdb.base/step-test.exp
+++ b/gdb/testsuite/gdb.base/step-test.exp
@@ -142,6 +142,9 @@ test_i "stepi to next line" "stepi" \
test_i "stepi into function" "stepi" \
".*${decimal}.*callee.*STEPI" \
".*callee \\(\\) at .*step-test\\.c"
+test_i "stepi to function first line" "stepi" \
+ ".*int callee\\(\\) .*\\{" \
+ ".*myglob.*"
# Have to be careful here, if the finish does not work,
# then we may run to the end of the program, which
# will cause erroneous failures in the rest of the tests
@@ -178,7 +181,7 @@ gdb_expect {
return
}
timeout {
- fail "stepi: finish call"
+ fail "stepi: finish call (timeout)"
return
}
}