From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24536 invoked by alias); 11 Nov 2006 10:03:26 -0000 Received: (qmail 24528 invoked by uid 22791); 11 Nov 2006 10:03:26 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 11 Nov 2006 10:03:17 +0000 Received: from kahikatea.snap.net.nz (p202-124-124-79.snap.net.nz [202.124.124.79]) by viper.snap.net.nz (Postfix) with ESMTP id 03ACC3D8DAA; Sat, 11 Nov 2006 23:03:30 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 0983BBE439; Sat, 11 Nov 2006 22:59:19 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17749.40694.344233.756666@kahikatea.snap.net.nz> Date: Sat, 11 Nov 2006 10:03:00 -0000 To: Eli Zaretskii Cc: gdb@sources.redhat.com Subject: Re: -var-show-attributes response syntax In-Reply-To: References: <200611101655.32843.vladimir@codesourcery.com> <17748.43269.740800.782628@kahikatea.snap.net.nz> <17748.62479.550269.959106@kahikatea.snap.net.nz> <17749.2926.508338.599064@kahikatea.snap.net.nz> X-Mailer: VM 7.19 under Emacs 22.0.90.12 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/msg00073.txt.bz2 > > lang=LANG-SPEC,exp=EXPRESSION > > > > where LANG-SPEC is `{"C" | "C++" | "Java"}'. > > > > means e.g lang="C" not lang={"C"} > > Then I think the braces `{}' should be simply removed from the > description in the manual. Yes that would work here but not in other places: -var-create {NAME | "-"} {FRAME-ADDR | "*"} EXPRESSION -var-update [PRINT-VALUES] {NAME | "*"} where the braces make the extent of the alternatives unambiguous. I think the section is intelligible even if not formally correct. Since MI is likely to change I suggest we improve it later. -- Nick http://www.inet.net.nz/~nickrob