From: Tom Tromey <tromey@redhat.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: "'Stan Shebs'" <stanshebs@earthlink.net>,
"'gdb-patches\@sourceware.org'"
<gdb-patches@sourceware.org>
Subject: Re: RFC: Introduce remote console for CLI interpreter via telnet
Date: Fri, 02 Dec 2011 21:06:00 -0000 [thread overview]
Message-ID: <m31usm8z0m.fsf@fleche.redhat.com> (raw)
In-Reply-To: <F7CE05678329534C957159168FA70DEC578CCD02BD@EUSAACMS0703.eamcs.ericsson.se> (Marc Khouzam's message of "Fri, 2 Dec 2011 15:58:36 -0500")
>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:
Tom> I don't think it will do completion or history. It doesn't
Tom> use readline.
Marc> That is too bad. I will have to try it out and figure
Marc> out what is missing.
I think it isn't easily possible. Readline really wants a tty, but this
is just a plain socket connection.
I really think you are better off just implementing a console in your
GUI, and doing the various editing things there.
Tom> History you can implement in your UI.
Marc> Guess so :-(
Actually, I guess interoperating with gdb's history would be nice. It
would mean that users could "set history save on" and then have their
commands show up in Eclipse as well.
I think this would need some new MI commands. Specifically, you'd need
an MI request to fetch previous history items.
If you want this, would you mind filing a bug report?
Tom> I agree about the prompt.
Marc> That is good news :-)
Another bug report :)
Marc> - synchronization with the Eclipse UI
Tom> What does this mean?
Marc> Have Eclipse update properly after commands given
Marc> from this new telnet console. But doing that will
Marc> require some GDB events that are not there yet.
Marc> But that is the final goal of the Eclispe
Marc> gdb-console.
Ok, I see. We've added some events in this last release cycle.
Please file bugs for what you need. These are usually not too hard to
add.
Tom
next prev parent reply other threads:[~2011-12-02 21:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 10:15 Grigory Tolstolytkin
2011-12-01 23:07 ` Joel Brobecker
2011-12-02 0:10 ` Stan Shebs
2011-12-02 20:19 ` Marc Khouzam
2011-12-02 20:52 ` Tom Tromey
2011-12-02 20:59 ` Marc Khouzam
2011-12-02 21:06 ` Tom Tromey [this message]
2011-12-05 18:32 ` Marc Khouzam
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=m31usm8z0m.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=marc.khouzam@ericsson.com \
--cc=stanshebs@earthlink.net \
/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