From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5195 invoked by alias); 11 May 2006 10:52:49 -0000 Received: (qmail 5176 invoked by uid 22791); 11 May 2006 10:52:48 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 May 2006 10:52:46 +0000 Received: from farnswood.snap.net.nz (p202-124-115-128.snap.net.nz [202.124.115.128]) by viper.snap.net.nz (Postfix) with ESMTP id 6DC30756EFD; Thu, 11 May 2006 22:52:45 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 500) id F17E8627ED; Thu, 11 May 2006 11:52:10 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17507.5978.277796.850745@farnswood.snap.net.nz> Date: Thu, 11 May 2006 10:57:00 -0000 To: Bob Rossi Cc: gdb@sources.redhat.com Subject: Re: CLI commands in MI In-Reply-To: <20060511102454.GC3727@brasko.net> References: <20060511022650.GA3727@brasko.net> <20060511034114.GA25755@nevyn.them.org> <20060511102454.GC3727@brasko.net> X-Mailer: VM 7.19 under Emacs 22.0.50.51 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00132.txt.bz2 > > > I'm thinking it would be a good idea to remove the ability to enter CLI > > > commands into the MI interpreter. Does anyone disagree? > > > > No way. The fact is, the MI command set is not complete, and > > -interpreter-exec is still recent. I would expect most front ends > > to still require this support, for the indefinite future. > > Whoa, I don't think it matters if FE's are using this feature. Read the > manual, > > This mechanism is provided as an aid to developers of GDB/MI clients and > not as a reliable interface into the CLI. Since the command is being > interpreteted in an environment that assumes GDB/MI behaviour, the exact > output of such commands is likely to end up being an un-supported hybrid > of GDB/MI and CLI output. There was thread about this paragraph on this mailing list a month ago. It was written before Jim Ingham, Andrew Cagney et al wrote -interpreter-exec to switch interpreters, so the lack of reliability is not true anymore. -- Nick http://www.inet.net.nz/~nickrob