[rfc] multiarch TARGET_SINGLE_FORMAT et al
Andrew Cagney
ac131313@cygnus.com
Thu Jun 1 19:14:00 GMT 2000
Andrew Cagney wrote:
> Tue May 30 13:31:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
>
> * defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
> TARGET_LONG_DOUBLE_FORMAT): Delete.
>
> * gdbarch.sh: Add support for parameterized expressions.
> (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
> TARGET_LONG_DOUBLE_FORMAT): Add. Include "floatformat.h".
> * gdbarch.h, gdbarch.c: Regenerate.
>
> * arch-utils.c (default_single_format, default_double_format,
> default_long_double_format): New functions. Include
> "floatformat.h"
> * arch-utils.h: Declare.
>
> * d10v-tdep.c (d10v_gdbarch_init): Set floating point format.
> Note that long double is 64 bit, the rest are 32 bit. Include
> "floatformat.h".
FYI,
I've checked this in. Various host target maintainers may want to keep
an eye on their FP test results. If things start to go wrong you should
have a fairly good idea who the principal suspect is.
As for the other floatformat_* changes. I've moved them to TODO.
Andrew
More information about the Gdb-patches
mailing list