This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Make tfind work if thread is running
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Stan Shebs <stan at codesourcery dot com>
- Date: Tue, 13 Apr 2010 13:45:38 +0100
- Subject: Re: [PATCH] Make tfind work if thread is running
- References: <4BC3B1E7.2050401@codesourcery.com>
On Tuesday 13 April 2010 00:51:03, Stan Shebs wrote:
> It would be good to add a testsuite test for this, but it seems there
> are no tests of non-stop outside of MI? Are there difficult portability
> issues perhaps?
It's just that with MI, we have well defined output to expect; with the CLI,
it can be tricker. In this case, a test wouldn't even need to be
multi-threaded, hence it could avoid out-of-order-random-output-with-the-CLI
issues. That, or just write the test in MI --- it should be failing in the
same way as the CLI without the patch.
--
Pedro Alves