From 419c88be1db89b32ae478e916c09dd3238f2aec2 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 20 Jan 2002 18:05:54 +0000 Subject: Eliminate IEEE_FLOAT. --- gdb/doublest.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/doublest.h') 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, -- cgit v1.2.1