This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb.python/py-evthreads.exp: fix racy test (PR testsuite/12649)
- From: Marek Polacek <mpolacek at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 30 Jun 2011 12:25:44 +0200
- Subject: Re: [PATCH] gdb.python/py-evthreads.exp: fix racy test (PR testsuite/12649)
- References: <4E09E2C1.2020909@redhat.com> <20110628155107.GL20676@adacore.com>
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