Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: "J. Johnston" <jjohnstn@redhat.com>, gdb-patches@sources.redhat.com
Cc: Kevin Buettner <kevinb@redhat.com>
Subject: Re: [RFA]: fix ia64 long double support
Date: Fri, 05 Dec 2003 01:19:00 -0000	[thread overview]
Message-ID: <1031205011907.ZM8602@localhost.localdomain> (raw)
In-Reply-To: "J. Johnston" <jjohnstn@redhat.com> "[RFA]: fix ia64 long double support" (Dec  4,  5:37pm)

On Dec 4,  5:37pm, J. Johnston wrote:

> Fix to a couple of problems.  First of all, we aren't setting up a long double 
> format for the architecture so it defaults to double when you try and print a 
> long double value via gdb.
> 
> Although the ia64 has a special long double format it specifies,
> this format is only valid for register values.  Values in memory use
> the x86 extended float format which is 80 bits.  Register long
> doubles are 82 bits (2 more bits of exponent).

So what happens when we try to print a long double in a register?

> Anyway, this simple change fixes it so long doubles print correctly.
> 
> Ok to commit?

Sure.  I'm guessing that we still won't always print long doubles correctly,
but it looks like this gets us closer...

Kevin


  parent reply	other threads:[~2003-12-05  1:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-04 22:37 J. Johnston
2003-12-05  0:50 ` Richard Henderson
2003-12-05  1:54   ` J. Johnston
2003-12-05  5:18     ` Kevin Buettner
2003-12-06  0:18       ` J. Johnston
2003-12-05  1:19 ` Kevin Buettner [this message]
2003-12-05  1:52   ` J. Johnston
2003-12-05  5:13     ` Kevin Buettner

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=1031205011907.ZM8602@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jjohnstn@redhat.com \
    /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