From: Jan Kratochvil Date: Tue, 30 Jun 2009 20:23:05 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4e164aac4f978e4240a259a77e586f01e75cc57;p=binutils-gdb.git gdb/testsuite/ * lib/mi-support.exp (mi_check_thread_states): Permit any output before the expected result record. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 635ea86950b..54a97dc0977 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-06-30 Jan Kratochvil + + * lib/mi-support.exp (mi_check_thread_states): Permit any output before + the expected result record. + 2009-06-30 Jan Kratochvil Remove racy FAILs relying just on the timeouts. diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index ad78360342e..9b4c464abcb 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -1808,7 +1808,7 @@ proc mi_reverse_list { list } { proc mi_check_thread_states { xstates test } { global expect_out set states [mi_reverse_list $xstates] - set pattern "\\^done,threads=\\\[" + set pattern ".*\\^done,threads=\\\[" foreach s $states { set pattern "${pattern}(.*)state=\"$s\"" }