From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13826 invoked by alias); 7 Sep 2005 14:40:16 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13791 invoked by uid 22791); 7 Sep 2005 14:40:05 -0000 Received: from eastrmmtao01.cox.net (HELO eastrmmtao01.cox.net) (68.230.240.38) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 07 Sep 2005 14:40:04 +0000 Received: from white ([68.9.64.121]) by eastrmmtao01.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050907144002.FDY9903.eastrmmtao01.cox.net@white>; Wed, 7 Sep 2005 10:40:02 -0400 Received: from bob by white with local (Exim 3.36 #1 (Debian)) id 1ED15T-0007JB-00; Wed, 07 Sep 2005 10:39:43 -0400 Date: Wed, 07 Sep 2005 14:40:00 -0000 From: Bob Rossi To: Vladimir Prus , gdb@sources.redhat.com Subject: Re: MI parser Message-ID: <20050907143943.GA27583@white> Mail-Followup-To: Vladimir Prus , gdb@sources.redhat.com References: <20050907142933.GA6105@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050907142933.GA6105@nevyn.them.org> User-Agent: Mutt/1.5.9i X-SW-Source: 2005-09/txt/msg00057.txt.bz2 On Wed, Sep 07, 2005 at 10:29:33AM -0400, Daniel Jacobowitz wrote: > On Wed, Sep 07, 2005 at 06:19:31PM +0400, Vladimir Prus wrote: > > > > Is there a parser for MI protocol, specifically for responses that gdb sends > > (not for commands from frontend). > > > > I see one is mentioned in > > http://sources.redhat.com/ml/gdb/2004-08/msg00307.html > > > > but can't find any MI parser in gdb CVS. Does it exist? > > Bob's written one. It's not in CVS yet. I've put up the current state of the parser here, http://brasko.net:81/bob/gdbmi_parser.tar Basically, use at your own risk. Hopefully, in the near future, I'm going to get the parser to an acceptable state to sumbit to GDB. Several months ago I tested the parser against the gdb.mi testsuite directory, and made sure that all MI output commands complied with the grammar. They did, with a few minor changes to the grammar. untar, run make, and with the executable made run './main b'. That will test the front end against a few MI output commands that are in the file called 'b'. Thanks, Bob Rossi