* doublest.c (FLOATFORMAT_LARGEST_BYTES): New define.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 918ecdd895bbd6f4fb00b3c1c30ca800ac4caf03..8357edb5915e01b9adb51c3dd1d2e3523ec8e2b5 100644 (file)
@@ -1,3 +1,18 @@
+2004-12-05  Richard Earnshaw  <rearnsha@arm.com>
+
+       * doublest.c (FLOATFORMAT_LARGEST_BYTES): New define.
+       (get_field, put_field): Assert that the format is one we can handle.
+       Simplify logic accordingly.
+       (floatformat_normalize_byteorder): New function.
+       (convert_floatformat_to_doublest): Use floatformat_normalize_byteorder
+       to normalize and select modified byte order. Pass modified byte order
+       to get_field.
+       (floatformat_is_negative, floatformat_is_nan, floatformat_mantissa): 
+       Likewise.
+       (convert_doublest_to_floatformat): Select an appropriate intermediate
+       byte order if necessary.  Always convert to the final format before
+       returning.
+
 2004-12-04  Daniel Jacobowitz  <dan@debian.org>
 
        PR tui/1703
This page took 0.026024 seconds and 4 git commands to generate.