Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Mark Kettenis <kettenis@chello.nl>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [commit] Add BE/LE floating-point type & format tables
Date: Mon, 09 Aug 2004 13:58:00 -0000	[thread overview]
Message-ID: <41169A0A.1020508@gnu.org> (raw)
In-Reply-To: <200408081951.i78JpTxK005673@elgar.kettenis.dyndns.org>

> You'd better do that because right now I don't see where this is
> heading.

My original post gave one example, here's another:

static struct type *
mips_float_register_type (void)
{
   if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
     return builtin_type_ieee_single_big;
   else
     return builtin_type_ieee_single_little;
}

Is all over the place.  This:

	builtin_type_ieee_single[gdbarch_byte_order (gdbarch)]

is shorter and correct.

> Anyway, could we rename floatformat_ia64_quad to
> floatformat_ieee_quad.  There are quite a few systems out there that
> use or will be using the same format, and I believe i will be in a new
> revision of the official IEEE standard for it.
> 

local to gdb?

Andrew


  reply	other threads:[~2004-08-09 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-08 17:23 Andrew Cagney
2004-08-08 19:51 ` Mark Kettenis
2004-08-09 13:58   ` Andrew Cagney [this message]
2004-08-09 15:12     ` Mark Kettenis
2004-08-24 22:39       ` Andrew Cagney

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=41169A0A.1020508@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kettenis@chello.nl \
    /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