From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15767 invoked by alias); 12 Aug 2002 16:30:58 -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 15649 invoked from network); 12 Aug 2002 16:30:54 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 12 Aug 2002 16:30:54 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g7CGHMl16633 for ; Mon, 12 Aug 2002 12:17:22 -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 g7CGUpu00879; Mon, 12 Aug 2002 12:30:52 -0400 Received: from romulus.sfbay.redhat.com (IDENT:2ZdiXk+a7gZC/uHXy37Ml6f+KSce/qxT@romulus.sfbay.redhat.com [172.16.27.251]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g7CGUoe13065; Mon, 12 Aug 2002 09:30:51 -0700 Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g7CGUnl32207; Mon, 12 Aug 2002 09:30:49 -0700 Date: Mon, 12 Aug 2002 09:30:00 -0000 From: Kevin Buettner Message-Id: <1020812163048.ZM32206@localhost.localdomain> In-Reply-To: Andrew Cagney "[patch/rfc] Provide a default ``info float''" (Aug 10, 3:09pm) References: <3D5564DC.2070809@ges.redhat.com> To: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Provide a default ``info float'' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-08/txt/msg00261.txt.bz2 On Aug 10, 3:09pm, Andrew Cagney wrote: > It has always struck me as weird that GDB would report: > > (gdb) info float > No floating point info available for this processor. > > when debugging platforms that I knew had floating-point registers (PPC, > ...). > > This patch modifies the ``info float'' command so that, if there is no > architecture specific code, it at least prints the floating-point registers. What does it do when there truly are no floating point registers? (I think I remember seeing some complaints in the past regarding the fact that fp registers were being displayed even though the processor being used had no fp registers. Personally, this never bothered me, but clearly it bothers some folks.) Kevin