From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 400 invoked by alias); 2 Oct 2015 09:41:47 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 384 invoked by uid 89); 2 Oct 2015 09:41:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: smtp1.ugent.be Received: from smtp1.ugent.be (HELO smtp1.ugent.be) (157.193.71.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Oct 2015 09:41:45 +0000 Received: from localhost (mcheck2.ugent.be [157.193.49.249]) by smtp1.ugent.be (Postfix) with ESMTP id 8A0C18338 for ; Fri, 2 Oct 2015 11:41:43 +0200 (CEST) Received: from smtp1.ugent.be ([IPv6:::ffff:157.193.71.182]) by localhost (mcheck2.UGent.be [::ffff:157.193.43.11]) (amavisd-new, port 10024) with ESMTP id OBiMhrRGT8rN for ; Fri, 2 Oct 2015 11:41:43 +0200 (CEST) Received: from mail.elis.ugent.be (mail.elis.UGent.be [157.193.206.48]) by smtp1.ugent.be (Postfix) with ESMTP id 32FA28318 for ; Fri, 2 Oct 2015 11:41:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.elis.ugent.be (Postfix) with ESMTP id EEE52918C64 for ; Fri, 2 Oct 2015 11:41:42 +0200 (CEST) Received: from mail.elis.ugent.be ([127.0.0.1]) by localhost (mail.elis.ugent.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kgtSnRssx4MZ for ; Fri, 2 Oct 2015 11:41:42 +0200 (CEST) Received: by mail.elis.ugent.be (Postfix, from userid 48) id D182D918F17; Fri, 2 Oct 2015 11:41:42 +0200 (CEST) Received: from twinpeaks.elis.UGent.be (twinpeaks.elis.UGent.be [157.193.205.105]) by mail.elis.ugent.be (Horde Framework) with HTTP; Fri, 02 Oct 2015 11:41:42 +0200 Date: Fri, 02 Oct 2015 09:41:00 -0000 Message-ID: <20151002114142.Horde.U2k-JkisJlFWDlFWvl7hOVA@mail.elis.ugent.be> From: Jonas Maebe To: gdb@sourceware.org Subject: Re: Debugger support for __float128 type? References: <20151001161641.3D31813CC@oc7340732750.ibm.com> In-Reply-To: <20151001161641.3D31813CC@oc7340732750.ibm.com> User-Agent: Internet Messaging Program (IMP) H4 (5.0.23) Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-j-chkmail-Enveloppe: 560E5157.000 from mail.elis.UGent.be/mail.elis.UGent.be/157.193.206.48/mail.elis.ugent.be/ X-j-chkmail-Score: MSGID : 560E5157.000 on smtp1.ugent.be : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00005.txt.bz2 Ulrich Weigand wrote on Thu, 01 Oct 2015: > Right, that's the current situation on PowerPC. (On Intel, long double > is the 80-bit IEEE extended type, padded to either 12 bytes (32-bit) > or 16 bytes (64-bit), while __float128 is IEEE quad-precision.) A side note here: the Free Pascal Compiler supports the 80-bit extended type stored in memory as either 10 bytes (for Turbo Pascal and Delphi compatibility) or using the ABI-specified size (which is 16 bytes for Darwin/i386, and otherwise as you mention above). We always output the used bytesize in the DWARF info, and in case there are padding bytes (i.e., the non-10-byte size cases) we also emit the DW_AT_bit_offset. I don't know how important it is in this context, but it may be useful to keep in mind. Jonas