aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2001-11-12 19:44:28 +0000
committerDaniel Jacobowitz <drow@false.org>2001-11-12 19:44:28 +0000
commit1902c51fa6c7592a74d1006067ab61aabef4ac33 (patch)
treec2fdd5fdad8f9c6c35712241ec1bfebf434a9a99 /gdb/testsuite/lib
parenta325df1d97fc1082a45c36dd0cad8b1c89beffab (diff)
downloadfsf-binutils-gdb-1902c51fa6c7592a74d1006067ab61aabef4ac33.zip
fsf-binutils-gdb-1902c51fa6c7592a74d1006067ab61aabef4ac33.tar.gz
fsf-binutils-gdb-1902c51fa6c7592a74d1006067ab61aabef4ac33.tar.bz2
* lib/mi-support.exp (mi_run_to_helper): Move comments
outside of gdb_expect.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/mi-support.exp9
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index 09801d4..44679f0 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -701,6 +701,9 @@ proc mi_step { test } {
# cmd should not include the number or newline (i.e. "exec-step 3", not
# "220-exec-step 3\n"
+# Can not match -re ".*\r\n${mi_gdb_prompt}", because of false positives
+# after the first prompt is printed.
+
proc mi_run_to_helper { cmd reason func args file line extra test } {
global suppress_flag
if { $suppress_flag } {
@@ -723,12 +726,6 @@ proc mi_run_to_helper { cmd reason func args file line extra test } {
fail "$test (unknown output after running)"
return -1
}
-# Can not check for this, because of false positives after half of a running
-# prompt.
-# -re ".*\r\n${mi_gdb_prompt}" {
-# fail "$test (unknown output)"
-# return -1
-# }
timeout {
fail "$test (timeout)"
return -1