global expect_out
set test "continue to get_version_1"
gdb_test_multiple "continue" $test {
- -re "Breakpoint ($bkptno_num_re), get_version_1 \\(\\).*" {
+ -re "Breakpoint ($bkptno_num_re), get_version_1 \\(\\).*\r\n.*$gdb_prompt $" {
set bpno $expect_out(1,string)
pass $test
}
# Do the same, but from get_version_2.
set test "continue to get_version_2"
gdb_test_multiple "continue" $test {
- -re "Breakpoint ($bkptno_num_re), get_version_2 \\(\\).*" {
+ -re "Breakpoint ($bkptno_num_re), get_version_2 \\(\\).*\r\n.*$gdb_prompt $" {
set bpno $expect_out(1,string)
pass $test
}
# EXTRA can be a list of one, two or three elements.
# The first element is the regular expression
# for output expected right after *stopped, and before GDB prompt.
-# The third element is the regulation expression for the locno
+# The third element is the regular expression for the locno
# right after bkptno field. The locno regex should not include
# the comma separating it from the following fields.
#