From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20675 invoked by alias); 11 May 2006 06:02:41 -0000 Received: (qmail 20666 invoked by uid 22791); 11 May 2006 06:02:40 -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 06:02:37 +0000 Received: from farnswood.snap.net.nz (p202-124-115-81.snap.net.nz [202.124.115.81]) by viper.snap.net.nz (Postfix) with ESMTP id 282247560B0; Thu, 11 May 2006 18:02:35 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 500) id 007BC627ED; Thu, 11 May 2006 07:01:55 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17506.54099.147732.205664@farnswood.snap.net.nz> Date: Thu, 11 May 2006 06:39:00 -0000 To: Bob Rossi Cc: gdb@sources.redhat.com Subject: CLI commands in MI In-Reply-To: <20060511022650.GA3727@brasko.net> References: <20060511022650.GA3727@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/msg00122.txt.bz2 Bob Rossi writes: > I'm thinking it would be a good idea to remove the ability to enter CLI > commands into the MI interpreter. Does anyone disagree? Yes. I find it very convenient to see whats going on. To get to a given execution state its easier type the CLI command directly, rather than the MI one which is generally longer and doesn't allow abbreviations, or prefix everything with -interpreter-exec. > I think the only thing it can cause is confusion. Especially since > entering the '-exec-run' command gives different results than the > '-interpreter-exec console "r"' command which gives different results > than the 'r' command. I don't how you can say that as directly entered CLI commands now (implicitly) use -interpreter-exec console. AFAICS the only difference is the extra &"r\n". > Now that -interpreter-exec is available, is there any reason beyond > trying to confuse us all that console commands are allowed? No one is forcing you to use it. Why would you want to force others not to use it? -- Nick http://www.inet.net.nz/~nickrob