On 02/09/2011 02:55 AM, Jan Kratochvil wrote: > On Fri, 04 Feb 2011 21:06:37 +0100, sami wagiaalla wrote: >> --- /dev/null >> +++ b/gdb/testsuite/gdb.python/py-evthreads.exp > [...] >> +send_gdb "continue -a\n" >> +gdb_expect { >> + -re ".*stop reason: signal.* >> +.*stop signal: SIGSEGV.* >> +.*thread num: 3.*" { >> + pass "thread 3 was signalled" >> + } >> + timeout { >> + fail "thread 3 was not signalled" >> + } >> +} > > This testcase has very random/racy results. > Hmm... I thought I fixed that by avoiding checking for the prompt. I can't reproduce the problem but maybe moving the thread test into its own testcase helps. It makes the setup simpler. Sami