From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11572 invoked by alias); 13 Apr 2010 12:45:48 -0000 Received: (qmail 11554 invoked by uid 22791); 13 Apr 2010 12:45:46 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Apr 2010 12:45:42 +0000 Received: (qmail 8048 invoked from network); 13 Apr 2010 12:45:40 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 13 Apr 2010 12:45:40 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [PATCH] Make tfind work if thread is running Date: Tue, 13 Apr 2010 12:45:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-20-generic; KDE/4.3.2; x86_64; ; ) Cc: Stan Shebs References: <4BC3B1E7.2050401@codesourcery.com> In-Reply-To: <4BC3B1E7.2050401@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201004131345.38691.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00401.txt.bz2 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