From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18155 invoked by alias); 27 May 2011 11:20:52 -0000 Received: (qmail 18145 invoked by uid 22791); 27 May 2011 11:20:51 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 May 2011 11:20:34 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4RBKRTI002482 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 27 May 2011 07:20:27 -0400 Received: from dhcp-25-89.brq.redhat.com (pdp-11.brq.redhat.com [10.34.24.63]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4RBKPTI001126; Fri, 27 May 2011 07:20:26 -0400 Message-ID: <4DDF88F9.80406@redhat.com> Date: Fri, 27 May 2011 11:20:00 -0000 From: Marek Polacek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat Thunderbird/3.1.3 MIME-Version: 1.0 To: Pedro Alves CC: gdb-patches@sourceware.org, Tom Tromey Subject: Re: [PATCH] gdb.mi/mi-nonstop.exp: fix racy tests (PR testsuite/12649) References: <4DD4F3B7.2070003@redhat.com> <201105261732.05437.pedro@codesourcery.com> In-Reply-To: <201105261732.05437.pedro@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2011-05/txt/msg00629.txt.bz2 On 05/26/2011 06:32 PM, Pedro Alves wrote: > This pattern appears in all the MI non-stop tests. It'd be nice > to move it to mi-support.exp (ideally in a preparatory patch > that just does the factoring/moving, and nothing else.) I'll do it in a bit. > Can you use gdb_mi_expect_interrupt (+mi_gdb_test)? See mi-nsinterall.exp. I'll take a look at it. Thanks. Marek