diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-08-12 01:45:49 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-08-12 01:45:49 +0000 |
commit | 3715b1dd0d8f9421fc6b360a632a3156c5611d43 (patch) | |
tree | efb03de6564ba82a7536cb2cf1e51d26b8ad67fa /gdb/doublest.h | |
parent | b13f9bc4bfee8f01fbf4c56204ef5d057238a1b8 (diff) | |
download | gdb-3715b1dd0d8f9421fc6b360a632a3156c5611d43.tar.gz |
* 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.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/doublest.h b/gdb/doublest.h index 692280db5f2..2380f160e92 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 |