forked from Imagelibrary/binutils-gdb
* lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user