From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32030 invoked by alias); 2 Oct 2004 16:38:27 -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 32021 invoked from network); 2 Oct 2004 16:38:26 -0000 Received: from unknown (HELO balder.inter.net.il) (192.114.186.15) by sourceware.org with SMTP; 2 Oct 2004 16:38:26 -0000 Received: from zaretski ([80.230.152.240]) by balder.inter.net.il (Mirapoint Messaging Server MOS 3.3.7-GR) with ESMTP id DUS06796 (AUTH halo1); Sat, 2 Oct 2004 18:38:15 +0200 (IST) Date: Sat, 02 Oct 2004 17:06:00 -0000 From: "Eli Zaretskii" To: Bob Rossi Message-ID: <01c4a89d$Blat.v2.2.2$ea76c2c0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb@sources.redhat.com In-reply-to: <20041002153815.GC5224@white> (message from Bob Rossi on Sat, 2 Oct 2004 11:38:15 -0400) Subject: Re: MI and backwards compatibility Reply-to: Eli Zaretskii References: <20041001142517.GD4100@white> <20041002153815.GC5224@white> X-SW-Source: 2004-10/txt/msg00021.txt.bz2 > Date: Sat, 2 Oct 2004 11:38:15 -0400 > From: Bob Rossi > > Ping. Well, one day without a response is hardly a good reason for a ping, I'd say. Especially during weekends. I suggest to be slightly more patient. > I guess the main questions is, is the goal of GDB to support old > versions of MI? For instance, if GDB is currently at MI3, will it > support a front end that only knows MI2? It should, and it does in most cases. In those cases where the new MI version is too incompatible with the previous one, we provide a suitable -interpreter=mi switch to alleviate the problem. Thus, a frond-end which is known not to work with a new MI version should use an explicit -interpreter=mi switch when it invokes GDB. The -version command-line switch is available to find out what GDB version you are running with. > If so, then I need the > documentation for the MI2 interface if I want to make my front end work > with that version of the protocol. If needed, you can find the documentation of the MI2 interface in the GDB documentation of the last version that supported MI2 as its default MI interpreter. However, I don't see why would you need to look up the old manual: the previous versions of MI are maintained for those front ends that are already written, so that they will not need anything beyond an explicit mi request to run with a version of GDB that was released after the fron end. Thus, a front end which is being developed _after_ MI3 is released will not need to support MI2 in most cases, right?