Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kip Macy <kmacy@fsmware.com>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb@sources.redhat.com
Subject: Re: gdb + perl
Date: Wed, 04 Feb 2004 17:36:00 -0000	[thread overview]
Message-ID: <20040204092828.G92534@demos.bsdclusters.com> (raw)
In-Reply-To: <40212518.3080706@gnu.org>

It was clear just by looking at the dispatch table in mi-cmd.c that the
MI implementation wasn't even as complete as the documentation. However,
fleshing out the MI as the need arises seemed much cleaner than any of
the alternatives. I am actually quite happy with the MI infrastructure
itself. I'd be happy to flesh out needed bits of the implementation over
time.

			-Kip




On Wed, 4 Feb 2004, Andrew Cagney wrote:

> Kip,
>
> This comes up often.  The theory is roughly as follows:
>
> - At present MI is implemented using a hybrid of internal grubbing and
> relatively clean interfaces.  It has warts and all:
>
> -- the breakpoint code is a mess (and further changes will just make it
> worse)
> -- the disassembler is relatively clean
> -- the varobj code is relatively clean (but needs a frame ID overhaul)
> -- the stop code and event handling is a mess
> -- the lack async in targets hurts
> -- it doesn't use observers
>
> - The MI interface is tested (relative to the CLI it's very well tested)
>
> - The intent is for the MI to split into a thin vineer (the MI cli) and
> a "libgdb" like interface.
>
> If anyone is going to look to binding GDB to their favorite interpreter
> they will also need to work on MI and its internal interfaces.  I think
> they would reasonably be expected to contribute the binding code to the FSF.
>
> (Before you ask, GDB's licence won't be changed from GPL :-)
>
> If you're looking for an example of how to not do things, study Red
> Hat's Insight.  It grubs around with all sorts of GDB internals, it
> pokes fingers where they should never go.  Something aproaching a clean
> integration would be a significant task (I'm working on the legal hurdle).
>
> Andrew
>
>


  reply	other threads:[~2004-02-04 17:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-31  0:05 Kip Macy
2004-01-31  3:42 ` Kip Macy
2004-02-03 21:06   ` Kevin Buettner
2004-02-04  3:31     ` Kip Macy
2004-02-04  4:13       ` Daniel Jacobowitz
2004-02-04  5:44         ` Kip Macy
2004-02-04  6:01           ` Eli Zaretskii
2004-02-04 17:00 ` Andrew Cagney
2004-02-04 17:36   ` Kip Macy [this message]
2004-02-04 17:48   ` 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=20040204092828.G92534@demos.bsdclusters.com \
    --to=kmacy@fsmware.com \
    --cc=cagney@gnu.org \
    --cc=gdb@sources.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