+2015-07-29 Pedro Alves <palves@redhat.com>
+
+ * gdb.base/ending-run.exp: Use gdb_test_stdio.
+
2015-07-29 Pedro Alves <palves@redhat.com>
* gdb.base/call-rt-st.exp (print_struct_call): Split "result"
# is output from the program.
#
if ![gdb_skip_stdio_test "cont"] {
- gdb_test "cont" ".*1 2 7 14 23 34 47 62 79.*Breakpoint.*$break2_line.*"
+ gdb_test_stdio "cont" \
+ "1 2 7 14 23 34 47 62 79" \
+ "Breakpoint.*$break2_line.*"
} else {
gdb_test "cont" ".*Breakpoint.*$break2_line.*"
}
if ![gdb_skip_stdio_test "Step to return"] {
- gdb_test "next" ".*Goodbye!.*[expr {$break2_line + 1}].*" \
- "Step to return"
+ gdb_test_stdio "next" \
+ "Goodbye!" \
+ "[expr {$break2_line + 1}].*" \
+ "Step to return"
} else {
gdb_test "next" ".*" ""
}