From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 788 invoked by alias); 25 Mar 2004 10:28:06 -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 779 invoked from network); 25 Mar 2004 10:28:05 -0000 Received: from unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.58) by sources.redhat.com with SMTP; 25 Mar 2004 10:28:05 -0000 Received: from pc960.cambridge.arm.com (pc960.cambridge.arm.com [10.1.205.4]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id i2PARZ9I000375; Thu, 25 Mar 2004 10:27:35 GMT Received: from pc960.cambridge.arm.com (localhost.localdomain [127.0.0.1]) by pc960.cambridge.arm.com (8.12.8/8.12.8) with ESMTP id i2PARZ7N025413; Thu, 25 Mar 2004 10:27:35 GMT Received: (from rearnsha@localhost) by pc960.cambridge.arm.com (8.12.8/8.12.8/Submit) id i2PARUDb025411; Thu, 25 Mar 2004 10:27:30 GMT X-Authentication-Warning: pc960.cambridge.arm.com: rearnsha set sender to rearnsha@arm.com using -f Subject: Re: [rfa/arm] Fix the types of ARM FPA registers From: Richard Earnshaw To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com In-Reply-To: <20040324222616.GA2169@nevyn.them.org> References: <20040324222616.GA2169@nevyn.them.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1080210449.19975.34.camel@pc960.cambridge.arm.com> Mime-Version: 1.0 Date: Thu, 25 Mar 2004 10:28:00 -0000 X-SW-Source: 2004-03/txt/msg00604.txt.bz2 On Wed, 2004-03-24 at 22:26, Daniel Jacobowitz wrote: > This has apparently been broken for a while... build an arm-elf GDB, connect > to the simulator, and say 'print $f0'. You get an internal error because > the virtual size is 8 but the raw size is 12, and we don't define > DEPRECATED_REGISTER_CONVERTIBLE. > > I don't think any of the baggage is necessary any more. We can simply > expose the correct type. After this patch, we have: > > (gdb) ptype $f0 > type = builtin_type_arm_ext_littlebyte_bigword > (gdb) p sizeof($f0) > $1 = 12 > (gdb) p $f0 > $2 = 0 > > I also got to whack five deprecated methods. > > No change in test results on arm-sim, and it fixes the internal error. I > don't have any hard-FPA targets to try it on (all my Linux setups are > soft-FPA or soft-VFP). I've got access to a netwinder (with FPA emulation). I'll set a build off there. R.