Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: gdb@sourceware.org
Subject: Re: Printing long double register pairs on s390x
Date: Fri, 08 Nov 2019 20:29:00 -0000	[thread overview]
Message-ID: <87d0e29ko2.fsf@igel.home> (raw)
In-Reply-To: <8736ey5gbg.fsf@mid.deneb.enyo.de> (Florian Weimer's message of	"Fri, 08 Nov 2019 20:16:51 +0100")

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.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


  reply	other threads:[~2019-11-08 20:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-08 19:16 Florian Weimer
2019-11-08 20:29 ` Andreas Schwab [this message]
2019-11-08 20:38   ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0e29ko2.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=fw@deneb.enyo.de \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox