diff options
author | Kung Hsu <kung@cygnus> | 1995-03-29 20:31:26 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1995-03-29 20:31:26 +0000 |
commit | 3c23a941c398a759c3de429c3f68cf605f8c1428 (patch) | |
tree | 4feb4a785ecfd403896ee0d867a7151bfad376d6 /gdb/testsuite/lib | |
parent | 21e061e3f880a09c4faa26457161f8890140c0ef (diff) | |
download | gdb-3c23a941c398a759c3de429c3f68cf605f8c1428.zip gdb-3c23a941c398a759c3de429c3f68cf605f8c1428.tar.gz gdb-3c23a941c398a759c3de429c3f68cf605f8c1428.tar.bz2 |
* lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index cec1f27..9431912 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -233,9 +233,10 @@ proc runto_main {} { send "step\n" # if use stubs step out of the breakpoint() function. expect { - -re "* at .*$prompt $" {} + -re "main.* at .*$prompt $" {} timeout { fail "single step at breakpoint() (timeout)" ; return 0 } } + return 1 } # |