From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65077 invoked by alias); 8 Nov 2019 20:38:20 -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 65068 invoked by uid 89); 8 Nov 2019 20:38:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:87d0e29, H*i:sk:87d0e29 X-HELO: albireo.enyo.de Received: from albireo.enyo.de (HELO albireo.enyo.de) (37.24.231.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 Nov 2019 20:38:18 +0000 Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1iTB1M-000604-1C; Fri, 08 Nov 2019 20:38:16 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1iTB1E-00036X-JR; Fri, 08 Nov 2019 21:38:08 +0100 From: Florian Weimer To: Andreas Schwab Cc: gdb@sourceware.org Subject: Re: Printing long double register pairs on s390x References: <8736ey5gbg.fsf@mid.deneb.enyo.de> <87d0e29ko2.fsf@igel.home> Date: Fri, 08 Nov 2019 20:38:00 -0000 In-Reply-To: <87d0e29ko2.fsf@igel.home> (Andreas Schwab's message of "Fri, 08 Nov 2019 21:29:17 +0100") Message-ID: <87d0e23xzj.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg00022.txt.bz2 * Andreas Schwab: > On Nov 08 2019, Florian Weimer wrote: > >> Is there a way to print the long double value of a register pair? > > Since IBM long double is the sum of two doubles, just printing the sum > of the registers should do it. That's POWER only. long double on s390x is proper float128.