aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/mi-support.exp8
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 11c8d8e..e25e98d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-16 Pedro Alves <palves@redhat.com>
+
+ * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
+ instead of "unknown output after running".
+
2014-05-16 Yao Qi <yao@codesourcery.com>
* gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index 1054038..afe13e8 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -1060,7 +1060,7 @@ proc mi_expect_stop { reason func args file line extra test } {
pass "$test"
}
timeout {
- fail "$test (unknown output after running)"
+ fail "$test (timeout)"
}
}
return
@@ -1074,7 +1074,7 @@ proc mi_expect_stop { reason func args file line extra test } {
}
-re ".*$mi_gdb_prompt$" {fail "continue to end (2)"}
timeout {
- fail "$test (unknown output after running)"
+ fail "$test (timeout)"
}
}
return
@@ -1088,7 +1088,7 @@ proc mi_expect_stop { reason func args file line extra test } {
fail "$test (inferior not stopped)"
}
timeout {
- fail "$test (unknown output after running)"
+ fail "$test (timeout)"
}
}
return
@@ -1102,7 +1102,7 @@ proc mi_expect_stop { reason func args file line extra test } {
pass "$test"
}
timeout {
- fail "$test (unknown output after running)"
+ fail "$test (timeout)"
}
}
return