From: Jim Ingham <jingham@apple.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFC] Interpreters (~final) (fwd)
Date: Tue, 27 Aug 2002 15:21:00 -0000 [thread overview]
Message-ID: <31725E23-BA0B-11D6-BA4A-00039379E320@apple.com> (raw)
In-Reply-To: <1030485672.17451.ezmlm@sources.redhat.com>
The first motivation, actually, was to separate out the MI and Console
"interpreters" in gdb so that you can run gdb under a GUI using the MI,
but still provide a way to run "real" console commands. By this I mean
that you get correct console output, the extra prompts - completion,
command entry mode for breakpoint commands, etc and everything else you
need to make a convincing console window within an MI driven use of
gdb. Project Builder provides such a console window, so I hacked this
up for PB, and I think Eclipse wants the same thing for its debugger,
so Keith is working on merging our patches (this latter bit is just a
guess, he could be doing it out of the goodness of his heart...)
I started to also think about how to do the more complex job of
providing a way to "lash another interpreter onto gdb", but I didn't
get very far with this. The main issue with this is how to
intelligently share events with the gdb interpreter. Fortunately, the
MI and the gdb CLI share the same event sources, etc. So this bit it
trivial. Something like Tcl will have its own wait loop and thus list
of wait sources, and to get good behavior you really need to convert
the event sources from something the CLI & MI likes to something the
other interpreter likes.
But this second stage is not necessary for getting Console behaviors
from the MI. The stuff Keith extracted from our sources is sufficient
for that.
Jim
On Tuesday, August 27, 2002, at 03:01 PM,
gdb-patches-digest-help@sources.redhat.com wrote:
> Keith Seitz wrote:
>>
>> Ping.
>
> Hi Keith,
>
> I'm not sure whose domain this is. /me lacks context.
> What is it we're trying to do here? Provide replacements
> to the CLI interpreter? Lash an extension language into gdb?
> Excuse my ignorance, I haven't followed the conversation
> too closely.
>
> Michael
>
>
--
Jim Ingham jingham@apple.com
Developer Tools - gdb
Apple Computer
next parent reply other threads:[~2002-08-27 22:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1030485672.17451.ezmlm@sources.redhat.com>
2002-08-27 15:21 ` Jim Ingham [this message]
2002-09-06 8:40 Keith Seitz
2002-09-22 15:40 ` Elena Zannoni
2002-09-23 11:57 ` Keith Seitz
2002-09-23 12:44 ` Keith Seitz
2002-09-30 11:35 ` Elena Zannoni
2002-09-30 15:58 ` Elena Zannoni
-- strict thread matches above, loose matches on Subject: below --
2002-08-27 9:26 Keith Seitz
2002-08-27 15:01 ` Michael Snyder
2002-08-27 15:19 ` Keith Seitz
2002-08-28 7:14 ` Eli Zaretskii
2002-08-28 8:37 ` Keith Seitz
2002-08-28 9:03 ` Eli Zaretskii
2002-08-28 13:33 ` Michael Snyder
2002-08-28 17:13 ` Andrew Cagney
2002-08-28 22:09 ` Eli Zaretskii
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=31725E23-BA0B-11D6-BA4A-00039379E320@apple.com \
--to=jingham@apple.com \
--cc=gdb-patches@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