From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28581 invoked by alias); 22 Apr 2002 05:51:02 -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 28567 invoked from network); 22 Apr 2002 05:51:01 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 22 Apr 2002 05:51:01 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id JAA12022; Mon, 22 Apr 2002 09:49:37 +0300 (IDT) Date: Sun, 21 Apr 2002 22:51:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Jim Ingham cc: gdb@sources.redhat.com, nick@nick.uklinux.net Subject: Re: Output of CLI commands under --interpreter=mi In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-04/txt/msg00355.txt.bz2 [Please don't remove Nick from the CC list: he's not subscribed to the mailing list.] On Sun, 21 Apr 2002, Jim Ingham wrote: > We did this for Apple's GDB and use with Project Builder in a slightly > different way. First we made interpreters switchable (so there is a "set > interpreter" command that you can use within gdb). When you are debugging > MI stuff in gdb, this itself is a big bonus! Then I added a command to the > mi: "-interpreter-exec", which allows you to run a command as if it were run > under another interpreter - for instance "-interpreter-exec console list". That'd be fine, too. > I have not yet submitted any of this because this bit is only half of a > larger project, which is to include the Tcl interpreter from Insight as a > third interpreter in this setup. I think the feature of switching the intepreter is important enough and stand-alone enough to submit it without waiting for the rest of your project. If you need a proof that it will be useful for other project, here came Nick and supplied it ;-) TIA