From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4373 invoked by alias); 7 Apr 2006 21:53:45 -0000 Received: (qmail 4365 invoked by uid 22791); 7 Apr 2006 21:53:44 -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; Fri, 07 Apr 2006 21:53:38 +0000 Received: from farnswood.snap.net.nz (p202-124-114-135.snap.net.nz [202.124.114.135]) by viper.snap.net.nz (Postfix) with ESMTP id 56E95751C5C; Sat, 8 Apr 2006 09:53:35 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 501) id AE0CA62A99; Fri, 7 Apr 2006 22:53:14 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17462.57160.545635.736634@farnswood.snap.net.nz> Date: Sat, 08 Apr 2006 08:23:00 -0000 To: Daniel Jacobowitz Cc: Dirk Behme , gdb@sourceware.org Subject: Re: MI return error changed from 6.3 to 6.4? In-Reply-To: <20060407160222.GA24731@nevyn.them.org> References: <44368B51.1030707@gmail.com> <20060407160222.GA24731@nevyn.them.org> 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-04/txt/msg00111.txt.bz2 > mi_cmd_interpreter_exec has conveniently returned MI_CMD_ERROR. > So, this should be easy to fix. Thanks for the report. However the manual says: Manual> To help users familiar with GDB's existing CLI interface, GDB/MI Manual> accepts existing CLI commands. As specified by the syntax, such Manual> commands can be directly entered into the GDB/MI interface and GDB will Manual> respond. Manual> This mechanism is provided as an aid to developers of GDB/MI clients Manual> and not as a reliable interface into the CLI. Since the command is Manual> being interpreteted in an environment that assumes GDB/MI behaviour, Manual> the exact output of such commands is likely to end up being an Manual> un-supported hybrid of GDB/MI and CLI output. so maybe we shouldn't fix it. On the other hand this was written before the command -interpreter-exec. If entering CLI commands directly (using -interpreter-exec implicitly) can be made as reliable as using -interpreter-exec explicitly, maybe this would be a convenient alternative, and the above paragraph could be removed from the manual. -- Nick http://www.inet.net.nz/~nickrob