diff options
author | Jim Blandy <jimb@codesourcery.com> | 2000-04-14 19:14:19 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2000-04-14 19:14:19 +0000 |
commit | 7355ddbacef086a00575d289049611428fbf8087 (patch) | |
tree | 1bb11c0265fb71578fcf8ccb59331ecb4937999d /gdb/config/sparc/tm-sparc.h | |
parent | 16c088d03772776d9305b5e3f447f6600727c4b8 (diff) | |
download | gdb-7355ddbacef086a00575d289049611428fbf8087.zip gdb-7355ddbacef086a00575d289049611428fbf8087.tar.gz gdb-7355ddbacef086a00575d289049611428fbf8087.tar.bz2 |
Bring IEEE_FLOAT under gdbarch's control.
* gdbarch.sh (IEEE_FLOAT): New entry.
* gdbarch.c, gdbarch.h: Regenerated.
* valprint.c (IEEE_FLOAT): Provide a default #definition for this.
(print_floating): Use IEEE_FLOAT as if it were an expression; use
the code specific to IEEE-format numbers whenever the value of
IEEE_FLOAT is non-zero.
* config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h,
config/h8300/tm-h8300.h, config/i386/tm-i386.h,
config/i960/tm-i960.h, config/m88k/tm-m88k.h,
config/mips/tm-mips.h, config/pa/tm-hppa.h,
config/sparc/tm-sparc.h, config/delta/tm-delta.h,
config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define
IEEE_FLOAT, make sure they give it the value (1).
Diffstat (limited to 'gdb/config/sparc/tm-sparc.h')
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index 5419ecb..29cf746 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -28,7 +28,7 @@ struct value; #define TARGET_BYTE_ORDER BIG_ENDIAN /* Floating point is IEEE compatible. */ -#define IEEE_FLOAT +#define IEEE_FLOAT (1) /* If an argument is declared "register", Sun cc will keep it in a register, never saving it onto the stack. So we better not believe the "p" symbol |