From 734b8fe8d4618b0e7bf87d3f9371c6805b95551d Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 21 May 2004 17:27:01 +0000 Subject: * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the GDB prompt. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/lib/gdb.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8a82c33..19a0aa3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-05-21 Joel Brobecker + Daniel Jacobowitz + + * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the + GDB prompt. + 2004-05-20 Ulrich Weigand * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index f49cbbf..32f36d1 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" } -- cgit v1.1