From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11241 invoked by alias); 31 Aug 2007 07:38:51 -0000 Received: (qmail 11232 invoked by uid 22791); 31 Aug 2007 07:38:50 -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; Fri, 31 Aug 2007 07:38:48 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1IR15Z-0008NJ-Uy for gdb-patches@sources.redhat.com; Fri, 31 Aug 2007 11:38:46 +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 1IR15N-0008MW-S6; Fri, 31 Aug 2007 11:38:34 +0400 From: Vladimir Prus To: Nick Roberts Subject: Re: [mi] -list-features Date: Fri, 31 Aug 2007 07:38:00 -0000 User-Agent: KMail/1.9.6 Cc: Eli Zaretskii , drow@false.org, gdb-patches@sources.redhat.com References: <200708311105.38612.ghost@cs.msu.su> <18135.49879.287098.143052@kahikatea.snap.net.nz> In-Reply-To: <18135.49879.287098.143052@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708311138.32484.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/msg00541.txt.bz2 On Friday 31 August 2007 11:27:19 Nick Roberts wrote: > > How about 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 command returns a list of strings, with each string naming > > an available feature. Each returned string is just a name, it > > does not have any internal structure. The list of possible > > feature names is given below. > > > > 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. > > You've lost me. This is plain text documentation for a command which you > want to implement now but populate later. Something like: > > (gdb) > -list-features > ^done,features=[] > > AFAICS it won't currently return 'frozen-varobjs. Since everyone seems > agreeable to the general idea why not just submit when the patch (source and > documentation) are complete? Now you've lost me. Is this (plain text) documentation fine with you, or not? - Volodya