diff options
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 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 } } |