Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Marc Khouzam <marc.khouzam@ericsson.com>
To: "'Tom Tromey'" <tromey@redhat.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: Mon, 05 Dec 2011 18:32:00 -0000	[thread overview]
Message-ID: <F7CE05678329534C957159168FA70DEC578CD53D97@EUSAACMS0703.eamcs.ericsson.se> (raw)
In-Reply-To: <m31usm8z0m.fsf@fleche.redhat.com>

> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com] 
> Sent: Friday, December 02, 2011 4:06 PM
> To: Marc Khouzam
> Cc: 'Stan Shebs'; 'gdb-patches@sourceware.org'
> Subject: Re: RFC: Introduce remote console for CLI 
> interpreter via telnet
> 
> >>>>> "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.

Eclipse does provide a pseudo-tty.  In fact, there is also
a full-featured terminal that allows me to access all the
goodies of tcsh for example. 

I guess you are saying that the problem is that this new 
remote console won't allow for the readline features at all.

> 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?

I'll try out the patch for the remote console and
write bug reports for suggested improvements.

> 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.

Will do.

Thanks a lot!

Marc


      reply	other threads:[~2011-12-05 17: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
2011-12-05 18:32             ` Marc Khouzam [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=F7CE05678329534C957159168FA70DEC578CD53D97@EUSAACMS0703.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=gdb-patches@sourceware.org \
    --cc=stanshebs@earthlink.net \
    --cc=tromey@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