This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][02/19] Target FP: Simplify floatformat_from_type
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: uweigand at de dot ibm dot com (Ulrich Weigand)
- Cc: gdb-patches at sourceware dot org, simon dot marchi at polymtl dot ca (Simon Marchi)
- Date: Wed, 27 Sep 2017 19:08:43 +0200 (CEST)
- Subject: Re: [RFC][02/19] Target FP: Simplify floatformat_from_type
- Authentication-results: sourceware.org; auth=none
> 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