public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Bob Rossi <bob@brasko.net>
To: Vladimir Prus <ghost@cs.msu.su>, gdb@sources.redhat.com
Subject: Re: MI parser
Date: Wed, 07 Sep 2005 14:40:00 -0000	[thread overview]
Message-ID: <20050907143943.GA27583@white> (raw)
In-Reply-To: <20050907142933.GA6105@nevyn.them.org>

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

  reply	other threads:[~2005-09-07 14:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-07 14:23 Vladimir Prus
2005-09-07 14:29 ` Daniel Jacobowitz
2005-09-07 14:40   ` Bob Rossi [this message]
2005-10-20 11:08     ` -break-list output format Stefan Burström
2005-10-20 11:15       ` Nick Roberts
2005-10-20 11:27         ` Stefan Burström
2005-10-20 11:50           ` Bob Rossi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050907143943.GA27583@white \
    --to=bob@brasko.net \
    --cc=gdb@sources.redhat.com \
    --cc=ghost@cs.msu.su \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).