* lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.

This commit is contained in:
Kung Hsu
1995-03-29 20:31:26 +00:00
parent 21e061e3f8
commit 3c23a941c3
2 changed files with 6 additions and 1 deletions

View File

@@ -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
}
#