* 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>
+
+ * 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>
Remove racy FAILs relying just on the timeouts.
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\""
}