aboutsummaryrefslogtreecommitdiff
path: root/gdb/doublest.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-12 01:45:49 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-12 01:45:49 +0000
commitc422e77126de8364e08b6e8dff0fa249da9b83fb (patch)
treec0f9f79db213e152e2e5b29553695d7afb063c4d /gdb/doublest.h
parentf096a152b39f7a6c65f2f344a0e2593fd85abdcc (diff)
downloadgdb-c422e77126de8364e08b6e8dff0fa249da9b83fb.zip
gdb-c422e77126de8364e08b6e8dff0fa249da9b83fb.tar.gz
gdb-c422e77126de8364e08b6e8dff0fa249da9b83fb.tar.bz2
* doublest.c (convert_doublest_to_floatformat): Rename
floatformat_from_doublest. Make static. (convert_floatformat_to_doublest): Rename floatformat_to_doublest. Make static. (floatformat_to_doublest): New function. (floatformat_from_doublest): New function. (host_float_format, host_double_format, host_long_double_format): New static variables. (store_floating, extract_floating): Always use floatformat_to_doublest and floatformat_from_doublest. * doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
Diffstat (limited to 'gdb/doublest.h')
-rw-r--r--gdb/doublest.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/doublest.h b/gdb/doublest.h
index 692280d..2380f16 100644
--- a/gdb/doublest.h
+++ b/gdb/doublest.h
@@ -53,10 +53,6 @@ extern const struct floatformat floatformat_unknown;
#endif
#endif
-#ifndef HOST_LONG_DOUBLE_FORMAT
-#define HOST_LONG_DOUBLE_FORMAT &floatformat_unknown
-#endif
-
/* Use `long double' if the host compiler supports it. (Note that this is not
necessarily any longer than `double'. On SunOS/gcc, it's the same as
double.) This is necessary because GDB internally converts all floating