* lib/gdb.exp (gdb_test_multiple): Improve regexp matching the

GDB prompt.
This commit is contained in:
Joel Brobecker 2004-05-21 17:27:01 +00:00
parent 9aa3914d5c
commit 734b8fe8d4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-05-21 Joel Brobecker <brobecker@gnat.com>
Daniel Jacobowitz <drow@mvista.com>
* lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
GDB prompt.
2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of

View File

@ -661,7 +661,7 @@ proc gdb_test_multiple { command message user_code } {
fail "$errmsg"
set result -1
}
-re ".*$gdb_prompt $" {
-re "\r\n$gdb_prompt $" {
if ![string match "" $message] then {
fail "$message"
}