Bring IEEE_FLOAT under gdbarch's control.
authorJim Blandy <jimb@codesourcery.com>
Fri, 14 Apr 2000 19:14:19 +0000 (19:14 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 14 Apr 2000 19:14:19 +0000 (19:14 +0000)
commit7355ddbacef086a00575d289049611428fbf8087
tree1bb11c0265fb71578fcf8ccb59331ecb4937999d
parent16c088d03772776d9305b5e3f447f6600727c4b8
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).
21 files changed:
gdb/config/a29k/tm-a29k.h
gdb/config/alpha/tm-alpha.h
gdb/config/arc/tm-arc.h
gdb/config/arm/tm-arm.h
gdb/config/fr30/tm-fr30.h
gdb/config/h8300/tm-h8300.h
gdb/config/h8500/tm-h8500.h
gdb/config/i386/tm-i386.h
gdb/config/i960/tm-i960.h
gdb/config/m68k/tm-m68k.h
gdb/config/m88k/tm-m88k.h
gdb/config/mips/tm-mips.h
gdb/config/pa/tm-hppa.h
gdb/config/sh/tm-sh.h
gdb/config/sparc/tm-sparc.h
gdb/config/w65/tm-w65.h
gdb/config/z8k/tm-z8k.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/valprint.c