From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8101 invoked by alias); 29 Aug 2007 17:55:52 -0000 Received: (qmail 8091 invoked by uid 22791); 29 Aug 2007 17:55:51 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 29 Aug 2007 17:55:43 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-46-130.inter.net.il [84.228.46.130]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id ITL09566 (AUTH halo1); Wed, 29 Aug 2007 20:55:22 +0300 (IDT) Date: Wed, 29 Aug 2007 17:55:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus CC: drow@false.org, gdb-patches@sources.redhat.com In-reply-to: <200708282147.18298.ghost@cs.msu.su> (message from Vladimir Prus on Tue, 28 Aug 2007 21:47:17 +0400) Subject: Re: [mi] -list-features Reply-to: Eli Zaretskii References: <20070828171503.GA26820@caradoc.them.org> <200708282147.18298.ghost@cs.msu.su> X-IsSubscribed: yes 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/msg00513.txt.bz2 > From: Vladimir Prus > Date: Tue, 28 Aug 2007 21:47:17 +0400 > Cc: gdb-patches@sources.redhat.com > > -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. > ......... This is fine, but for it to be useful to front ends, I think you need to tell more about the format of the output, because a program will need to parse and understand it. Let's say I want to test for the support of a feature name "frobnicate", how would I go about it? TIA