From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2278 invoked by alias); 2 Jun 2003 19:11:53 -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 2251 invoked from network); 2 Jun 2003 19:11:53 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 2 Jun 2003 19:11:53 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h52JBqH19300 for ; Mon, 2 Jun 2003 15:11:53 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h52JBpT31932; Mon, 2 Jun 2003 15:11:51 -0400 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h52JBo022217; Mon, 2 Jun 2003 12:11:50 -0700 Message-ID: <3EDBA176.83DFD85@redhat.com> Date: Mon, 02 Jun 2003 19:11:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Daniel Jacobowitz CC: Richard Henderson , Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [RFA] alpha_register_reggroup_p References: <20030602032821.GA7199@twiddle.net> <3EDACA77.6050407@redhat.com> <20030602040003.GB7283@twiddle.net> <20030602042102.GA19260@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00083.txt.bz2 Daniel Jacobowitz wrote: > > On Sun, Jun 01, 2003 at 09:00:03PM -0700, Richard Henderson wrote: > > On Sun, Jun 01, 2003 at 11:54:31PM -0400, Andrew Cagney wrote: > > > >+ /* Force the FPCR to be considered part of the floating point state. */ > > > >+ if (regnum == ALPHA_FPCR_REGNUM) > > > >+ return group == float_reggroup; > > > > > > Good. Finally a useful "info float". > > > > Incidentally, is there a good way to get "info r fpcr" to > > decode the bits in this register? > > Not really. Michal Ludvig proposed a set type for this some time ago > but I don't remember what happened to it. You could probably use the > Pascal-style power set type which GDB supports to acheive the same > thing. I think the standard thing is to intercept the "info reg" command (there is a standard vector for doing so), and make it print anything you want.