From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12344 invoked by alias); 22 Feb 2005 03:50:07 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 12116 invoked from network); 22 Feb 2005 03:49:57 -0000 Received: from unknown (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org with SMTP; 22 Feb 2005 03:49:57 -0000 Received: from farnswood.snap.net.nz (p148-tnt1.snap.net.nz [202.124.110.148]) by viper.snap.net.nz (Postfix) with ESMTP id 926A1422C17; Tue, 22 Feb 2005 16:49:55 +1300 (NZDT) Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 0028862FBE; Tue, 22 Feb 2005 03:48:27 +0000 (GMT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16922.43915.346792.973282@farnswood.snap.net.nz> Date: Tue, 22 Feb 2005 09:23:00 -0000 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH: gdb/mi + doco] -var-update In-Reply-To: <01c517d0$Blat.v2.4$09a26040@zahav.net.il> References: <16919.7660.144228.334687@farnswood.snap.net.nz> <01c5167f$Blat.v2.4$9a7a6f60@zahav.net.il> <16919.53411.753668.336933@farnswood.snap.net.nz> <01c51709$Blat.v2.4$4a3292a0@zahav.net.il> <16921.18627.457594.938060@farnswood.snap.net.nz> <01c517d0$Blat.v2.4$09a26040@zahav.net.il> X-SW-Source: 2005-02/txt/msg00234.txt.bz2 > > > I see the reason, but I think it is not important enough to use > > > "--all-values". Anyway, the switch text does not need to be similar > > > to the enum name, even if you use PRINT_ALL_VALUES in the enum. > > > > OK. But again this only makes sense if I change -var-list-children too. > > What change did you have in mind? info> -var-list-children [PRINT-VALUES] NAME info> Returns a list of the children of the specified variable object. info> With just the variable object name as an argument or with an optional info> preceding argument of 0 or `--no-values', prints only the names of the info> variables. With an optional preceding argument of 1 or `--all-values', info> also prints their values. ^^^^^^^^^^^^ If -var-update uses "--with-values" or "--print-values", then so should -var-list-children. Nick