From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13902 invoked by alias); 24 Mar 2004 18:10:38 -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 13888 invoked from network); 24 Mar 2004 18:10:36 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 24 Mar 2004 18:10:36 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i2OIAaWA007626 for ; Wed, 24 Mar 2004 13:10:36 -0500 Received: from zenia.home.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2OIAYj16236; Wed, 24 Mar 2004 13:10:35 -0500 To: gdb-patches@sources.redhat.com Subject: RFA: correct size of long double on PPC Linux From: Jim Blandy Date: Wed, 24 Mar 2004 18:10:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-03/txt/msg00567.txt.bz2 2004-03-24 Jim Blandy * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight bytes long on PPC Linux. Index: gdb/ppc-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v retrieving revision 1.49 diff -c -r1.49 ppc-linux-tdep.c *** gdb/ppc-linux-tdep.c 14 Nov 2003 14:16:29 -0000 1.49 --- gdb/ppc-linux-tdep.c 11 Feb 2004 18:59:31 -0000 *************** *** 1042,1047 **** --- 1042,1049 ---- if (tdep->wordsize == 4) { + set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); + /* Until November 2001, gcc did not comply with the 32 bit SysV R4 ABI requirement that structures less than or equal to 8 bytes should be returned in registers. Instead GCC was using