Add gdbarch callback to provide formats for debug info float types
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1dbddac0d5cf72592ca0a4b205de8ea556b1c5d5..f269c3cbd404b392ad5e39f1d3f0f1d6f4cc420e 100644 (file)
@@ -1,3 +1,20 @@
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (floatformat_for_type): New gdbarch callback.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * arch-utils.h (default_floatformat_for_type): New prototype.
+       * arch-utils.c (default_floatformat_for_type): New function.
+
+       * doublest.c (floatformat_from_length): Remove.
+       (floatformat_from_type): Assume TYPE_FLOATFORMAT is non-NULL.
+       * gdbtypes.c (verify_floatformat): Require non-NULL format.
+
+       * dwarf2read.c (dwarf2_init_float_type): New function.
+       (read_base_type): Use it.
+       * stabsread.c (dbx_init_float_type): New function.
+       (read_sun_floating_type): Use it.
+       (read_range_type): Likewise.
+
 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * ada-lang.c (ada_language_arch_info): Use gdbarch-provided
This page took 0.02456 seconds and 4 git commands to generate.