From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31451 invoked by alias); 13 Oct 2004 04:52:47 -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 31443 invoked from network); 13 Oct 2004 04:52:45 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 13 Oct 2004 04:52:45 -0000 Received: from zaretski (pns03-195-145.inter.net.il [80.230.195.145]) by legolas.inter.net.il (MOS 3.5.3-GR) with ESMTP id CUY50863 (AUTH halo1); Wed, 13 Oct 2004 06:51:19 +0200 (IST) Date: Wed, 13 Oct 2004 12:48:00 -0000 From: "Eli Zaretskii" To: "'Bob Rossi'" Message-ID: <01c4b0df$Blat.v2.2.2$e933d3e0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb@sources.redhat.com In-reply-to: <20041013003135.GA22087@white> (message from 'Bob Rossi' on Tue, 12 Oct 2004 20:31:35 -0400) Subject: Re: probing GDB for MI versions Reply-to: Eli Zaretskii References: <20041007145511.GA14573@white> <200410071614.MAA19648@smtp.ott.qnx.com> <20041007224230.GA15177@white> <01c4ad12$Blat.v2.2.2$1796ec80@zahav.net.il> <20041009002901.GB16824@white> <20041013003135.GA22087@white> X-SW-Source: 2004-10/txt/msg00301.txt.bz2 > Date: Tue, 12 Oct 2004 20:31:35 -0400 > From: 'Bob Rossi' > > With this idea there are 2 alternatives I can think of. > * put the handshaking under a different interpreter (-i=mi-handshake) > * integrate the handshaking as part of the MI protocol (version 3 and on) What's wrong with a simpler idea already suggested here: that GDB will output the MI version as part of the starting blurb when invoked with "-interpreter=mi" option?