gdb/testsuite/

* lib/mi-support.exp (mi_check_thread_states): Permit any output before
	the expected result record.
This commit is contained in:
Jan Kratochvil 2009-06-30 20:23:05 +00:00
parent 69af212282
commit f4e164aac4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/mi-support.exp (mi_check_thread_states): Permit any output before
the expected result record.
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com> 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Remove racy FAILs relying just on the timeouts. Remove racy FAILs relying just on the timeouts.

View File

@ -1808,7 +1808,7 @@ proc mi_reverse_list { list } {
proc mi_check_thread_states { xstates test } { proc mi_check_thread_states { xstates test } {
global expect_out global expect_out
set states [mi_reverse_list $xstates] set states [mi_reverse_list $xstates]
set pattern "\\^done,threads=\\\[" set pattern ".*\\^done,threads=\\\["
foreach s $states { foreach s $states {
set pattern "${pattern}(.*)state=\"$s\"" set pattern "${pattern}(.*)state=\"$s\""
} }