aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ending-run.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp
index 4b2e427..db14b43 100644
--- a/gdb/testsuite/gdb.base/ending-run.exp
+++ b/gdb/testsuite/gdb.base/ending-run.exp
@@ -129,7 +129,11 @@ gdb_expect {
# See if we can step out with control. The "1 2 3" stuff
# is output from the program.
#
-gdb_test "cont" ".*1 2 7 14 23 34 47 62 79.*Breakpoint.*31.*"
+if ![gdb_skip_stdio_test "cont"] {
+ gdb_test "cont" ".*1 2 7 14 23 34 47 62 79.*Breakpoint.*31.*"
+} else {
+ gdb_test "cont" ".*Breakpoint.*31.*"
+}
if ![gdb_skip_stdio_test "Step to return"] {
gdb_test "next" ".*Goodbye!.*32.*" \