Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Doug Evans <dje@google.com>
Cc: Jan Kratochvil <jan.kratochvil@redhat.com>,
	gdb-patches@sourceware.org,
	       Marek Polacek <mpolacek@redhat.com>
Subject: Re: [patch] testsuite: MI: racy results in async mode (PR testsuite/12649)
Date: Wed, 02 Nov 2011 17:31:00 -0000	[thread overview]
Message-ID: <m3mxcexwhp.fsf@fleche.redhat.com> (raw)
In-Reply-To: <CADPb22S2aOX9vkzWAx-95QYQGe0EHY-rVgDE1DRT96yi=jJ5zQ@mail.gmail.com>	(Doug Evans's message of "Tue, 1 Nov 2011 15:46:16 -0700")

>>>>> "Doug" == Doug Evans <dje@google.com> 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


      reply	other threads:[~2011-11-02 17:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-27 10:16 Jan Kratochvil
2011-10-27 16:49 ` Tom Tromey
2011-10-28  8:51   ` [commit] " Jan Kratochvil
2011-10-29 10:36     ` [patch] testsuite: MI: racy results in async mode #2 Jan Kratochvil
2011-10-29 12:10       ` Marek Polacek
2011-10-29 12:15         ` Marek Polacek
2011-10-29 15:09           ` Jan Kratochvil
2011-10-29 16:01             ` Marek Polacek
2011-11-01 16:20       ` Tom Tromey
2011-11-01 20:01         ` [commit] " Jan Kratochvil
2011-11-01 16:26       ` Marek Polacek
2011-11-01 15:40 ` [patch] testsuite: MI: racy results in async mode (PR testsuite/12649) Doug Evans
2011-11-01 16:26   ` Jan Kratochvil
2011-11-01 18:55   ` Tom Tromey
2011-11-01 22:46     ` Doug Evans
2011-11-02 17:31       ` Tom Tromey [this message]

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=m3mxcexwhp.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=mpolacek@redhat.com \
    /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