From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14635 invoked by alias); 1 Nov 2011 16:26:00 -0000 Received: (qmail 14476 invoked by uid 22791); 1 Nov 2011 16:25:56 -0000 X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Tue, 01 Nov 2011 16:25:35 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pA1GPYZI031452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 1 Nov 2011 12:25:35 -0400 Received: from host1.jankratochvil.net (ovpn-116-23.ams2.redhat.com [10.36.116.23]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pA1GPVVk010370 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Nov 2011 12:25:34 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id pA1GPU0R030768; Tue, 1 Nov 2011 17:25:30 +0100 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id pA1GPSVC030762; Tue, 1 Nov 2011 17:25:28 +0100 Date: Tue, 01 Nov 2011 16:26:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: gdb-patches@sourceware.org, Marek Polacek Subject: Re: [patch] testsuite: MI: racy results in async mode (PR testsuite/12649) Message-ID: <20111101162528.GA30557@host1.jankratochvil.net> References: <20111027101544.GA5288@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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-11/txt/msg00015.txt.bz2 On Tue, 01 Nov 2011 16:40:02 +0100, Doug Evans wrote: > On Thu, Oct 27, 2011 at 3:15 AM, Jan Kratochvil wrote: > > The fix is ugly but it cannot be done better before there is a generic MI > > client parser deployed for the testsuite. > > What does "generic MI client parser" mean in this context? Something what have the regular MI clients (like Nemiver from what Dodji said and I expect most/all the others). That is a stateful parser which automatically stores away async responses, something like XML parsers are but for MI. Either callbacking GDB on found elements or storing the elements and providing lookup API into them. Keith said he wrote something like that in TCL but it never got accepted. Unfortunately it needs to be in TCL to be compatible with the testsuite. Thanks, Jan