diff options
author | Joel Brobecker <brobecker@gnat.com> | 2004-05-21 17:27:01 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2004-05-21 17:27:01 +0000 |
commit | 31c9ff881c0bcf63fa03db0f442114ccb974a168 (patch) | |
tree | fc638a23c36d87be1f4d90e3fe49362a3af8fa02 /gdb/testsuite | |
parent | 0a4c48f08333ed1027809b7171b6337c1f2817d7 (diff) | |
download | gdb-31c9ff881c0bcf63fa03db0f442114ccb974a168.tar.gz |
* lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
GDB prompt.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8a82c339ba2..19a0aa361ea 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index f49cbbf9855..32f36d16f46 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -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" } |