summaryrefslogtreecommitdiff
path: root/gdb/doublest.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-20 18:05:54 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-20 18:05:54 +0000
commit419c88be1db89b32ae478e916c09dd3238f2aec2 (patch)
treed05402f2a5de193119992d7fc1cb91c17e0e0ffb /gdb/doublest.h
parentc85620f49dccbf298d8c518e83364182000f8109 (diff)
downloadgdb-419c88be1db89b32ae478e916c09dd3238f2aec2.tar.gz
Eliminate IEEE_FLOAT.
Diffstat (limited to 'gdb/doublest.h')
-rw-r--r--gdb/doublest.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/doublest.h b/gdb/doublest.h
index ccd92336275..0beeb9ba5c7 100644
--- a/gdb/doublest.h
+++ b/gdb/doublest.h
@@ -68,6 +68,12 @@ extern char *floatformat_mantissa (const struct floatformat *, char *);
extern DOUBLEST extract_floating (const void *addr, int len);
extern void store_floating (void *addr, int len, DOUBLEST val);
+/* Given TYPE, return its floatformat. TYPE_FLOATFORMAT() may return
+ NULL. type_floatformat() detects that and returns a floatformat
+ based on the type size when FLOATFORMAT is NULL. */
+
+const struct floatformat *floatformat_from_type (const struct type *type);
+
extern DOUBLEST extract_typed_floating (const void *addr,
const struct type *type);
extern void store_typed_floating (void *addr, const struct type *type,