From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16309 invoked by alias); 18 Jun 2013 15:13:32 -0000 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 Received: (qmail 16298 invoked by uid 89); 18 Jun 2013 15:13:32 -0000 X-Spam-SWARE-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 18 Jun 2013 15:13:31 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5IFDSL1026782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 18 Jun 2013 11:13:28 -0400 Received: from barimba (ovpn-113-102.phx2.redhat.com [10.3.113.102]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r5IFDQvO002718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 18 Jun 2013 11:13:26 -0400 From: Tom Tromey To: Yao Qi Cc: Pedro Alves , Eli Zaretskii , Subject: Re: [PATCH] Teach -data-list-register-values to not include unavailable registers References: <1370609650-23595-1-git-send-email-yao@codesourcery.com> <83sj0ut2ob.fsf@gnu.org> <51B23B65.8060309@redhat.com> <51B28F73.30301@codesourcery.com> Date: Tue, 18 Jun 2013 15:24:00 -0000 In-Reply-To: <51B28F73.30301@codesourcery.com> (Yao Qi's message of "Sat, 8 Jun 2013 09:57:07 +0800") Message-ID: <874ncva1uy.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-06/txt/msg00423.txt.bz2 Yao> + ** The command -data-list-register-values now accepts an optional Yao> + "--skip-unavailable" option. When used, only the available registers Yao> + are displayed. Why a new argument rather than just having MI annotate unavailable registers directly? -data-list-register-values x 0 8 ^done,register-values=[{number="0",unavailable="1"},{number="8",value="0x80483de"}] Is it not useful to see the unavailable ones? Other than this question I think the patch is ok. Tom