aboutsummaryrefslogtreecommitdiff
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
commitc2f05ac92e7fe9e3161ae09ea3f9e0937af42abc (patch)
tree766a0ffadb76b1de1e4fe885959760c3e720b962 /gdb/doublest.h
parent56248298dc57e763e4e8afbd90926bc19e25b3ac (diff)
downloadgdb-c2f05ac92e7fe9e3161ae09ea3f9e0937af42abc.zip
gdb-c2f05ac92e7fe9e3161ae09ea3f9e0937af42abc.tar.gz
gdb-c2f05ac92e7fe9e3161ae09ea3f9e0937af42abc.tar.bz2
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 ccd9233..0beeb9b 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,