From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6939 invoked by alias); 9 Aug 2002 01:33:23 -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 6932 invoked from network); 9 Aug 2002 01:33:22 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 9 Aug 2002 01:33:22 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17cyeZ-0007Kx-00; Thu, 08 Aug 2002 20:33:24 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17cyet-0001OM-00; Thu, 08 Aug 2002 21:33:43 -0400 Date: Thu, 08 Aug 2002 18:33:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Don't include vector registers in ``info registers'' Message-ID: <20020809013343.GA5331@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb-patches@sources.redhat.com References: <3D53041D.90609@ges.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D53041D.90609@ges.redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-08/txt/msg00200.txt.bz2 On Thu, Aug 08, 2002 at 07:51:57PM -0400, Andrew Cagney wrote: > Hello, > > The attached patch modifies the generic ``info registsters'' command so > that it precludes vector registers (in addition to floating-point > registers). The online doco indicates: > > (gdb) help info registers > List of integer registers and their contents, for selected stack frame. > Register name as argument means describe only that register. > (gdb) help info all-registers > List of all registers and their contents, for selected stack frame. > Register name as argument means describe only that register. > > I think the change makes the behavour a better match for both the > documentation and what I think is the intent of the command. Print a > minimal set of registers. > > It will eventually affect the i386 -- I've a patch to change the type of > xmm [and mmx] registers to true vectors. When that is in, ``info > registers'' will stop displaying the xmm registers. > > Thoughts? My only comment is that I would also like ``info registers'' not to print kernel-mode or processor status registers, since that seems (to me) to be appropriate; it should print registers for stack/pc and computation primarily, not things like the MSR. Might be harder to do generically though. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer