From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19119 invoked by alias); 2 Nov 2011 17:31:06 -0000 Received: (qmail 19110 invoked by uid 22791); 2 Nov 2011 17:31:05 -0000 X-SWARE-Spam-Status: No, hits=-7.5 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; Wed, 02 Nov 2011 17:30:46 +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 pA2HUi4S012537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Nov 2011 13:30:44 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pA2HUiCM022238; Wed, 2 Nov 2011 13:30:44 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id pA2HUgsg019638; Wed, 2 Nov 2011 13:30:43 -0400 From: Tom Tromey To: Doug Evans Cc: Jan Kratochvil , gdb-patches@sourceware.org, Marek Polacek Subject: Re: [patch] testsuite: MI: racy results in async mode (PR testsuite/12649) References: <20111027101544.GA5288@host1.jankratochvil.net> Date: Wed, 02 Nov 2011 17:31:00 -0000 In-Reply-To: (Doug Evans's message of "Tue, 1 Nov 2011 15:46:16 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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/msg00042.txt.bz2 >>>>> "Doug" == Doug Evans writes: Doug> Not that I'm planning to do this :-), but would an MI parser written Doug> in C that could be exported to Tcl, Python, etc. be of sufficient use Doug> beyond the testsuite to entice someone to write one? One can load C Doug> modules into Tcl, and I'm guessing(!) the glue to make it usable to Doug> the testsuite would be minimal. This approach would be fine by me. There are already a few such libraries. I found a couple written in C; I haven't tried them. cgdb has one internally http://cgdb.git.sourceforge.net/git/gitweb.cgi?p=cgdb/cgdb;a=blob;f=lib/gdbmi/README;h=1863a50a52491833531e568e586f4bef5a7fb0a5;hb=HEAD libmigdb http://sourceforge.net/projects/libmigdb/ There's also this: www.tcl.tk/community/tcl2004/Tcl2003papers/dejong.pdf But I couldn't find the code any more. Tom