This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [rfc] multiarch TARGET_SINGLE_FORMAT et al


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]