From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7736 invoked by alias); 10 Nov 2006 17:02:36 -0000 Received: (qmail 7728 invoked by uid 22791); 10 Nov 2006 17:02:35 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 10 Nov 2006 17:02:24 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id C45AB21599; Fri, 10 Nov 2006 18:02:20 +0100 (CET) From: Andreas Schwab To: Nick Roberts Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: -var-show-attributes response syntax References: <200611101655.32843.vladimir@codesourcery.com> <17748.43269.740800.782628@kahikatea.snap.net.nz> X-Yow: I'd like MY data-base JULIENNED and stir-fried! Date: Fri, 10 Nov 2006 17:02:00 -0000 In-Reply-To: <17748.43269.740800.782628@kahikatea.snap.net.nz> (Nick Roberts's message of "Sat, 11 Nov 2006 05:29:57 +1300") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00057.txt.bz2 Nick Roberts writes: > Vladimir Prus writes: > > > > Hello! > > > > Here's the docs for -var-show-attributes MI command: > > > > Synopsis > > -var-show-attributes name > > > > List attributes of the specified variable object name: > > status=attr [ ( ,attr )* ] > > where attr is { { editable | noneditable } | TBD }. > > > > What is the reason for using "non" instead of "attribute_name=attribute_value" > > syntax? The above assumes all attributes are boolean, which is not very > > extensible. > > I think the above means output may be something like: > > ^done,attr={"editable","yellow","big"} In which case I think status is a typo and should actually have been attr, like this: attr=ATTR [ ( ,ATTR )* ] Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."