[RFC][02/19] Target FP: Simplify floatformat_from_type
Ulrich Weigand
uweigand@de.ibm.com
Wed Sep 27 17:08:00 GMT 2017
> ChangeLog:
>
> * doublest.h (floatformat_from_type): Move to gdbtypes.h.
> * doublest.c (floatformat_from_type): Move to gdbtypes.c.
>
> * gdbtypes.h (union type_specific): Make field floatformat hold
> just a single struct floatformat, not an array.
> (floatformat_from_type): Move here.
> * gdbtypes.c (floatformat_from_type): Move here. Update to
> changed TYPE_FLOATFORMAT definition.
> (verify_floatformat): Update to changed TYPE_FLOATFORMAT.
> (recursive_dump_type): Likewise.
> (init_float_type): Install correct floatformat for byte order.
> (arch_float_type): Likewise.
I've pushed this now.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list