[PATCH] gdb.python/py-evthreads.exp: fix racy test (PR testsuite/12649)

Marek Polacek mpolacek@redhat.com
Thu Jun 30 10:26:00 GMT 2011


On 06/28/2011 05:51 PM, Joel Brobecker wrote:
> This is an area where I'm not entirely sure, but we usually use
> `$gdb_prompt $' as the anchor.

Actually, it doesn't matter.  That `$' at the end marks end of the
read buffer, not the end of line.

> I'm also surprised to see some uses of gdb_expect in gdb.python.
> I wonder if we could replace them with uses of gdb_test_multiple
> (that would be a separate patch)...

Yeah, I was thinking about this change too.  I'll try it.

	Marek



More information about the Gdb-patches mailing list