From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12672 invoked by alias); 28 Aug 2007 17:47:35 -0000 Received: (qmail 12639 invoked by uid 22791); 28 Aug 2007 17:47:33 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Aug 2007 17:47:28 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1IQ59x-0008LN-4j for gdb-patches@sources.redhat.com; Tue, 28 Aug 2007 21:47:25 +0400 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1IQ59s-0008L3-CX; Tue, 28 Aug 2007 21:47:20 +0400 From: Vladimir Prus To: Daniel Jacobowitz Subject: Re: [mi] -list-features Date: Tue, 28 Aug 2007 17:47:00 -0000 User-Agent: KMail/1.9.6 Cc: gdb-patches@sources.redhat.com References: <20070828171503.GA26820@caradoc.them.org> In-Reply-To: <20070828171503.GA26820@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708282147.18298.ghost@cs.msu.su> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00497.txt.bz2 On Tuesday 28 August 2007 21:15:03 Daniel Jacobowitz wrote: > On Tue, Aug 28, 2007 at 09:11:34PM +0400, Vladimir Prus wrote: > > > > Some time ago I've proposed to add MI command > > that will list "supported features", to enable > > frontends to conditionalize their behaviour easily. > > It was generally supported, so here there patch. > > So far, no features are reported. OK? > > I used the word "features" for something once and then I got myself > completely confused when I had two different things it described. > Can we be more specific? Features of what? Of MI. > I think we need proposed documentation more than we need the > implementation for this simple command :-) Ok, guess I won't write texinfo for now, so plain text documentation would be this: -list-features Returns a list of particular features of the MI protocol that this version of gdb implements. A feature can be a command, or a new field in an output of some command, or even an important bugfix. While a frontend can sometimes detect presence of a feature at runtime, it is easier to perform detection at debugger startup. The current list of features is: - 'frozen-varobjs' -- indicates presence of -var-set-frozen command, as well as possible presense of the 'frozen' field in the output of -varobj-create. ......... - Volodya