[OB/PUSHED] mi-support.exp: Fix some pastos.

Message ID 1400247975-11740-1-git-send-email-palves@redhat.com
State Committed
Headers

Commit Message

Pedro Alves May 16, 2014, 1:46 p.m. UTC
  gdb/testsuite/
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".
---
 gdb/testsuite/ChangeLog          | 5 +++++
 gdb/testsuite/lib/mi-support.exp | 8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)
  

Patch

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