From: Kung Hsu Date: Wed, 29 Mar 1995 20:31:26 +0000 (+0000) Subject: * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c23a941c398a759c3de429c3f68cf605f8c1428;p=binutils-gdb.git * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index aacb83193bc..4f497bf8957 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 29 12:29:34 1995 Kung Hsu + + * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1. + Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com) * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index cec1f2765ca..943191220b5 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 } #