From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24697 invoked by alias); 22 Jan 2002 17:30:04 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24580 invoked from network); 22 Jan 2002 17:29:58 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 22 Jan 2002 17:29:58 -0000 Received: by fw-cam.cambridge.arm.com; id RAA07774; Tue, 22 Jan 2002 17:29:56 GMT Received: from unknown(172.16.1.2) by fw-cam.cambridge.arm.com via smap (V5.5) id xma007528; Tue, 22 Jan 02 17:29:28 GMT Received: from cam-mail2.cambridge.arm.com (localhost [127.0.0.1]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id RAA24775; Tue, 22 Jan 2002 17:29:27 GMT Received: from sun18.cambridge.arm.com (sun18.cambridge.arm.com [172.16.2.18]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id RAA05113; Tue, 22 Jan 2002 17:29:27 GMT Message-Id: <200201221729.RAA05113@cam-mail2.cambridge.arm.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Andrew Cagney cc: Richard.Earnshaw@arm.com, gdb@sources.redhat.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: Re: ARM floating point regs regression In-reply-to: Your message of "Tue, 22 Jan 2002 12:26:28 EST." <3C4DA0C4.9060506@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 Jan 2002 09:30:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-01/txt/msg00244.txt.bz2 > Hmm, type->type_specific.floatformat shouldn't be NULL here. Checking > gdbtypes.c: > > builtin_type_i387_ext = > init_type (TYPE_CODE_FLT, floatformat_i387_ext.totalsize / 8, > 0, "builtin_type_i387_ext", NULL); > TYPE_FLOATFORMAT (builtin_type_i387_ext) = &floatformat_i387_ext; > > which is good, but: > > builtin_type_arm_ext_littlebyte_bigword = > init_type (TYPE_CODE_FLT, > floatformat_arm_ext_littlebyte_bigword.totalsize / 8, > 0, "builtin_type_arm_ext_littlebyte_bigword", NULL); > > is bad. > > I don't know how but almost all the lines initializing TYPE_FLOATFORMAT > were lost. > Hmm, I think I understand why it is failing. Although the FPA has an extended float format (which is used for stacking regs across function calls), this type isn't used for "long double". So I suspect the initialization code in gdbtypes.c is not setting it up correctly for this case. R.