diff options
author | Daniel Jacobowitz <dan@debian.org> | 2001-11-12 19:48:31 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2001-11-12 19:48:31 +0000 |
commit | 07d4ea4a30557d1312269ffe3ebef464892d92cd (patch) | |
tree | 3cff15d74e1a63b474886531fc9912468f06cbc2 | |
parent | 02391152931caf6220e49e5ecd6daf9c1d423aca (diff) | |
download | gdb-07d4ea4a30557d1312269ffe3ebef464892d92cd.tar.gz |
* lib/mi-support.exp (mi_run_to_helper): Move comments
outside of gdb_expect.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 9 |
2 files changed, 8 insertions, 6 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8e4a32e937c..d4b8e9ea8ee 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-11-12 Daniel Jacobowitz <drow@mvista.com> + + * lib/mi-support.exp (mi_run_to_helper): Move comments + outside of gdb_expect. + 2001-11-11 Daniel Jacobowitz <drow@mvista.com> * lib/mi-support.exp: (mi_run_to_helper, mi_run_to, diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index d9c4961d1d5..06c53b0a668 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -686,6 +686,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 } { @@ -708,12 +711,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 |