diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-06-30 20:23:05 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-06-30 20:23:05 +0000 |
commit | f4e164aac4f978e4240a259a77e586f01e75cc57 (patch) | |
tree | d8c93a9c5d1549c6ebae0d560d831bf42aa0a32e /gdb | |
parent | 69af212282958e2b80f41ba25af47c8b022ddae7 (diff) | |
download | fsf-binutils-gdb-f4e164aac4f978e4240a259a77e586f01e75cc57.zip fsf-binutils-gdb-f4e164aac4f978e4240a259a77e586f01e75cc57.tar.gz fsf-binutils-gdb-f4e164aac4f978e4240a259a77e586f01e75cc57.tar.bz2 |
gdb/testsuite/
* lib/mi-support.exp (mi_check_thread_states): Permit any output before
the expected result record.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 635ea86..54a97dc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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. * gdb.base/setshow.exp (set annotate 2, show annotate (2)) (annotation_level 2): Remove racy FAILs. diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index ad78360..9b4c464 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\"" } |