remove diff indicators
[deliverable/binutils-gdb.git] / gdb / doublest.h
index 2380f160e92ccb16be23197ac0249ab8edf05167..ccd92336275250abf622333873adb231a4b59f5c 100644 (file)
 
 extern const struct floatformat floatformat_unknown;
 
-#if HOST_BYTE_ORDER == BIG_ENDIAN
-#ifndef HOST_FLOAT_FORMAT
-#define HOST_FLOAT_FORMAT &floatformat_ieee_single_big
-#endif
-#ifndef HOST_DOUBLE_FORMAT
-#define HOST_DOUBLE_FORMAT &floatformat_ieee_double_big
-#endif
-#else /* LITTLE_ENDIAN */
-#ifndef HOST_FLOAT_FORMAT
-#define HOST_FLOAT_FORMAT &floatformat_ieee_single_little
-#endif
-#ifndef HOST_DOUBLE_FORMAT
-#define HOST_DOUBLE_FORMAT &floatformat_ieee_double_little
-#endif
-#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
@@ -77,7 +61,19 @@ extern int floatformat_is_negative (const struct floatformat *, char *);
 extern int floatformat_is_nan (const struct floatformat *, char *);
 extern char *floatformat_mantissa (const struct floatformat *, char *);
 
-extern DOUBLEST extract_floating (const void *in, int);
-extern void store_floating (void *, int, DOUBLEST);
+/* These two functions are deprecated in favour of
+   extract_typed_floating and store_typed_floating.  See comments in
+   'doublest.c' for details.  */
+
+extern DOUBLEST extract_floating (const void *addr, int len);
+extern void store_floating (void *addr, int len, DOUBLEST val);
+
+extern DOUBLEST extract_typed_floating (const void *addr,
+                                       const struct type *type);
+extern void store_typed_floating (void *addr, const struct type *type,
+                                 DOUBLEST val);
+extern void convert_typed_floating (const void *from,
+                                   const struct type *from_type,
+                                    void *to, const struct type *to_type);
 
 #endif
This page took 0.026829 seconds and 4 git commands to generate.