From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15658 invoked by alias); 22 Jul 2004 02:21:33 -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 15635 invoked from network); 22 Jul 2004 02:21:30 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 22 Jul 2004 02:21:30 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BnTCC-0007wI-Ir; Wed, 21 Jul 2004 22:20:32 -0400 Date: Thu, 22 Jul 2004 02:21:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] mips-irix SEGV: long doubles are 128 bits long on IRIX Message-ID: <20040722022031.GA30249@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20040721212522.GP1278@gnat.com> <20040721212930.GA21706@nevyn.them.org> <20040721233310.GR1278@gnat.com> <20040722003951.GA26928@nevyn.them.org> <20040722004640.GS1278@gnat.com> <20040722004808.GB27215@nevyn.them.org> <20040722020854.GT1278@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040722020854.GT1278@gnat.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-07/txt/msg00302.txt.bz2 On Wed, Jul 21, 2004 at 07:08:54PM -0700, Joel Brobecker wrote: > > According to GCC long double is 128-bit for all n64 and n32 targets. > > OK. So I am planning on setting the size to 128-bit for the following > ABIs, is this the correct list: > . O64 (??? Didn't see any mention of this in the IRIX man pages) > . EABI32, EABI64 > . N32/N64 > I will add the same set_gdbarch_...() call in each section of the case > statement on mips_abi. > > Would that be the correct patch? Ehm; no, I don't think so. I only said N32 and N64, and according to GCC that's all it is. The older ABIs don't have 128-bit long double. I think the best thing would be to make this change in mips-tdep; some additional changes for Irix and/or Linux may be necessary to get the format right, though. -- Daniel Jacobowitz