From: Andrew Cagney <ac131313@redhat.com>
To: Pierre Muller <muller@ics.u-strasbg.fr>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] Support alternate 'long double' size.
Date: Tue, 18 Feb 2003 19:46:00 -0000 [thread overview]
Message-ID: <3E528EC8.9040906@redhat.com> (raw)
In-Reply-To: <5.0.2.1.2.20030217174903.02c193e8@ics.u-strasbg.fr>
> Index: doublest.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/doublest.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 doublest.c
> --- doublest.c 4 Dec 2002 05:40:40 -0000 1.11
> +++ doublest.c 17 Feb 2003 16:07:19 -0000
> @@ -633,6 +633,8 @@ floatformat_from_length (int len)
> return TARGET_DOUBLE_FORMAT;
> else if (len * TARGET_CHAR_BIT == TARGET_LONG_DOUBLE_BIT)
> return TARGET_LONG_DOUBLE_FORMAT;
> + else if (len * TARGET_CHAR_BIT == TARGET_LONG_DOUBLE_BIT_ALTERNATE)
> + return TARGET_LONG_DOUBLE_FORMAT;
>
> return NULL;
> }
Would simply adding:
else if (TARGET_LONG_DOUBLE_FORMAT != NULL
&& len * TARGET_CHAR_BIT == TARGET_LONG_DOUBLE_FORMAT->totalsize)
..
to the end of that if() chain work? (and the other alternatives as well
of course).
Otherwize, yes, I can't see any other way of handling this problem :-(
Andrew
next prev parent reply other threads:[~2003-02-18 19:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-17 16:54 Pierre Muller
2003-02-18 19:46 ` Andrew Cagney [this message]
2003-03-11 12:21 ` [RFA] Support true " Pierre Muller
[not found] ` <3E6DF2A2.8030609@redhat.com>
2003-03-11 16:39 ` Pierre Muller
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=3E528EC8.9040906@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=muller@ics.u-strasbg.fr \
/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