From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22891 invoked by alias); 24 Apr 2002 17:06:54 -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 22856 invoked from network); 24 Apr 2002 17:06:53 -0000 Received: from unknown (HELO mail-out1.apple.com) (17.254.0.52) by sources.redhat.com with SMTP; 24 Apr 2002 17:06:53 -0000 Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out1.apple.com (8.11.3/8.11.3) with ESMTP id g3OH6rt04168 for ; Wed, 24 Apr 2002 10:06:53 -0700 (PDT) Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Wed, 24 Apr 2002 10:06:25 -0700 Received: from inghji (inghji.apple.com [17.202.40.220]) by scv1.apple.com (8.11.3/8.11.3) with ESMTP id g3OH6qs27390; Wed, 24 Apr 2002 10:06:52 -0700 (PDT) Date: Wed, 24 Apr 2002 10:06:00 -0000 Subject: Re: Output of CLI commands under --interpreter=mi Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: gdb@sources.redhat.com, nick@nick.uklinux.net To: Eli Zaretskii From: Jim Ingham In-Reply-To: Message-Id: Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00421.txt.bz2 Eli, Yeah, the problem is that ripping the bits apart is not trivial either. I will see what I can find time to do later in May. I won't get to it before then at all. If somebody else wants to take a whack at this, please at least look at what I did as a starting point, and I will be happy to answer questions. Jim On Sunday, April 21, 2002, at 11:49 PM, Eli Zaretskii wrote: > [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 > -- Jim Ingham jingham@apple.com Developer Tools - gdb Apple Computer