* lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 14 Mar 1995 21:25:19 +0000 (21:25 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 14 Mar 1995 21:25:19 +0000 (21:25 +0000)
commit4081daa1ed1c7370d33dded34bf716600e1b349f
treee798f311e52ecea37e3a820052e1332defce68a2
parent35f37e1e6698cddd6f60e6a67f598700e9937d18
* lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
only \r\n, not .*.  The test can pass .* as the last thing in
$pattern if that is what it wants.  In addition to providing this
flexibility, this change should speed up pattern matching in cases
where the pattern already ended with .* (there were a number of
them).  This change also helps catch bad patterns--in the old
scheme the typo "char \*" instead of "char \\*" would pass.  Now
it is caught.
* Many .exp files: Update callers.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break.exp
gdb/testsuite/gdb.base/nodebug.exp
gdb/testsuite/gdb.base/printcmds.exp
gdb/testsuite/gdb.base/scope.exp
gdb/testsuite/gdb.base/signals.exp
gdb/testsuite/gdb.base/whatis.exp
gdb/testsuite/gdb.chill/misc.exp
gdb/testsuite/gdb.chill/pr-4975.exp
gdb/testsuite/gdb.chill/pr-5984.exp
gdb/testsuite/lib/gdb.exp