From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8985 invoked by alias); 19 Jun 2013 19:05:12 -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 8976 invoked by uid 89); 19 Jun 2013 19:05:12 -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; Wed, 19 Jun 2013 19:05:11 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5JJ58jl005205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 19 Jun 2013 15:05:09 -0400 Received: from barimba (ovpn-113-102.phx2.redhat.com [10.3.113.102]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r5JJ56FX024223 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 19 Jun 2013 15:05:07 -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> <874ncva1uy.fsf@fleche.redhat.com> <51C18021.6080108@codesourcery.com> Date: Wed, 19 Jun 2013 19:07:00 -0000 In-Reply-To: <51C18021.6080108@codesourcery.com> (Yao Qi's message of "Wed, 19 Jun 2013 17:55:45 +0800") Message-ID: <87ehbx2a71.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/msg00509.txt.bz2 Yao> The MI front-end doesn't parse the output like this, as each register Yao> is represented by "number-value" pair. Fair enough. Tom> Is it not useful to see the unavailable ones? Yao> Processor may have a large number of registers, and users are only Yao> interested in collected or available registers in a traceframe. In Yao> this case, it is not useful to show (a large of number of) unavailable Yao> registers. I suppose if anybody cares they can request the information twice. The code bits are ok. Tom