Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2002-08-09 | * doublest.c (store_floating): Avoid floatformat_from_doublest() | Kevin Buettner | 1 | -0/+1 | |
assertion failure by returning early after a warning. | |||||
2002-02-09 | * doublest.c (store_typed_floating): Don't try to return a value. | Mark Kettenis | 1 | -3/+3 | |
Fixes PR gdb/290. | |||||
2002-01-22 | Initialize the TYPE_FLOATFORMAT field of the h/w floating-point | Andrew Cagney | 1 | -1/+4 | |
builtin types. | |||||
2002-01-20 | Eliminate IEEE_FLOAT. | Andrew Cagney | 1 | -10/+13 | |
2001-10-29 | * doublest.h (convert_typed_floating): New prototype. | Mark Kettenis | 1 | -1/+60 | |
* doublest.c (convert_typed_floating): New function. | |||||
2001-10-28 | * doublest.c: Improve comments a bit. | Mark Kettenis | 1 | -49/+82 | |
(floatformat_from_length): New function. (NAN): Define to 0.0 if not already defined. (extract_floating): Rewrite to use floatformat_from_length. Warn instead of error if LEN doesn't match a known floating-point type, and return NaN (or 0.0 if NaN isn't available) in that case. (store_floating): Likewise, but zero out the target byte-stream if LEN doesn't match a known floating-point type. (extract_typed_floating): Reformat a bit. (store_typed_floating): Reformat a bit. Add comment about zeroing out padding in the target buffer. * doublest.h (extract_floating, store_floating): Fix comment about deprecation of these functions. Add parameter names to prototypes. | |||||
2001-09-24 | * doublest.h (store_floating, extract_floating): Add comment | Andrew Cagney | 1 | -2/+38 | |
indicating these functions are deprecated. (extract_typed_floating, store_typed_floating): Declare. * doublest.c: Include "gdbtypes.h". (extract_typed_floating, store_typed_floating): Define. * stabsread.c (define_symbol): Use store_typed_floating. * valarith.c (value_binop): Ditto. * values.c (unpack_long): Use extract_typed_floating. (unpack_double): Ditto. | |||||
2001-08-12 | * doublest.c (convert_doublest_to_floatformat): Rename | Andrew Cagney | 1 | -63/+88 | |
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. | |||||
2001-08-01 | * doublest.h (store_floating, floatformat_to_doublest): Make IN | Andrew Cagney | 1 | -4/+6 | |
paramter a const void pointer. (floatformat_from_doublest): Make IN const, Make OUT a void pointer. * doublest.c (floatformat_to_doublest): Update. (floatformat_from_doublest): Update. (extract_floating): Update. | |||||
2001-08-01 | * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) | Andrew Cagney | 1 | -0/+627 | |
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT, DOUBLEST) (floatformat_to_doublest, floatformat_from_doublest) (floatformat_is_negative, floatformat_is_nan) (floatformat_mantissa, store_floating) (extract_floating): Move declaration from here. * doublest.h: To here. New file. * utils.c (get_field, floatformat_to_doublest, put_field) (ldfrexp, floatformat_from_doublest, floatformat_is_negative) (floatformat_is_nan, floatformat_mantissa) (FLOATFORMAT_CHAR_BIT): Move from here. * doublest.c: To here. New file. * findvar.c (store_floating, extract_floating): Move from here. * doublest.c: To here. * Makefile.in (SFILES): Add doublest.c. (COMMON_OBS): Add doublest.o. (doublest.o): Specify dependencies. (doublest_h): Define. * config/m88k/tm-m88k.h: Include "doublest.h". * config/i960/tm-i960.h: Ditto. * config/i386/tm-symmetry.h: Ditto. * rs6000-tdep.c, valarith.c: Ditto. * valprint.c, stabsread.c, sh-tdep.c: Ditto. * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto. * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto. * alpha-tdep.c, ax.h, expression.h: Ditto. * sh-tdep.c, parse.c, top.c, value.h: Ditto. * Makefile.in (arm-tdep.o): Add $(doublest_h). (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto. (rs6000-tdep.o, stabsread.o, valarith.o): Ditto. (values.o, valprint.o, arm-linux-tdep.o): Ditto. (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto. (parser_defs_h): Ditto. (expression_h): Add $(doublest_h) and $(symtab_h). |