summaryrefslogtreecommitdiff
path: root/gdb/config/h8300
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2000-04-14 19:14:19 +0000
committerJim Blandy <jimb@codesourcery.com>2000-04-14 19:14:19 +0000
commita1561c96638c6b5e3ddf508788589b45656d5069 (patch)
treefbb30a761fe151f904793d2b72034b50d7656e90 /gdb/config/h8300
parenteac686143e0a1c700d2157e831a6044a8de93aeb (diff)
downloadgdb-a1561c96638c6b5e3ddf508788589b45656d5069.tar.gz
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/h8300')
-rw-r--r--gdb/config/h8300/tm-h8300.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h
index 44b5e0d3e7a..8ee68162ff3 100644
--- a/gdb/config/h8300/tm-h8300.h
+++ b/gdb/config/h8300/tm-h8300.h
@@ -50,7 +50,7 @@ extern int h8300smode;
extern void h8300_init_extra_frame_info ();
-#define IEEE_FLOAT
+#define IEEE_FLOAT (1)
/* Define the bit, byte, and word ordering of the machine. */
#define TARGET_BYTE_ORDER BIG_ENDIAN
#undef TARGET_INT_BIT