From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22427 invoked by alias); 2 Dec 2011 21:06:25 -0000 Received: (qmail 22419 invoked by uid 22791); 2 Dec 2011 21:06:24 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Dec 2011 21:06:07 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pB2L635S030700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 2 Dec 2011 16:06:03 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id pB2L6210013868; Fri, 2 Dec 2011 16:06:03 -0500 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id pB2L61ds013114; Fri, 2 Dec 2011 16:06:01 -0500 From: Tom Tromey To: Marc Khouzam Cc: "'Stan Shebs'" , "'gdb-patches\@sourceware.org'" Subject: Re: RFC: Introduce remote console for CLI interpreter via telnet References: <4EC4ECB5.8090107@mentor.com> <20111201230711.GB2777@adacore.com> <4ED81749.8000305@earthlink.net> Date: Fri, 02 Dec 2011 21:06:00 -0000 In-Reply-To: (Marc Khouzam's message of "Fri, 2 Dec 2011 15:58:36 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00056.txt.bz2 >>>>> "Marc" == Marc Khouzam 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