From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26969 invoked by alias); 8 Feb 2003 02:58:14 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26962 invoked from network); 8 Feb 2003 02:58:14 -0000 Received: from unknown (HELO white) (68.14.146.65) by 172.16.49.205 with SMTP; 8 Feb 2003 02:58:14 -0000 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 18hLC1-0002JO-00 for ; Fri, 07 Feb 2003 21:58:13 -0500 Date: Sat, 08 Feb 2003 02:58:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: Re: GDB/MI & CLI commands Message-ID: <20030208025807.GA8872@white> Mail-Followup-To: gdb@sources.redhat.com References: <20030207145557.GC7980@white> <20030207151039.GD7980@white> <1044650036.1857.15.camel@lindt.uglyboxes.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1044650036.1857.15.camel@lindt.uglyboxes.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2003-02/txt/msg00160.txt.bz2 On Fri, Feb 07, 2003 at 12:33:56PM -0800, Keith Seitz wrote: > On Fri, 2003-02-07 at 07:10, Bob Rossi wrote: > > However, I would like to confirm that GDB/MI is supposed to > > accept CLI commands. > > It does for now, but this behavior is only temporary. It was used as a > stop-gap for commands that are not yet implemented (from mi-main.c): > > case CLI_COMMAND: > /* A CLI command was read from the input stream */ > /* This will be removed as soon as we have a complete set of > mi commands */ > > Note that CLI commands read in via MI (not via -interpreter-exec) will > have MI output semantics. > > Keith > Keith, Please excuse my ignorance. When GDB is started like this './gdb --interpreter=mi ', the mi interface is given. I understand that the client can then communicate with gdb by issuing mi commands and getting back mi responses. I would like to know if in the official release of mi ( when its basically complete ) will accept CLI commands from the client and give back mi responses? This is important to me since I plan on implementing a console for the user to issue CLI commands. What is the difference between MI and -interpreter-exec? Thanks for your patience, Bobby