This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH/aarch64] Fix handling of hfa/hva arrays
- From: Pedro Alves <palves at redhat dot com>
- To: Tristan Gingold <gingold at adacore dot com>, GDB Patches <gdb-patches at sourceware dot org>
- Date: Wed, 09 Dec 2015 11:23:27 +0000
- Subject: Re: [PATCH/aarch64] Fix handling of hfa/hva arrays
- Authentication-results: sourceware.org; auth=none
- References: <9807AC8E-AB8B-42D5-BEF8-1CF4D5731E28 at adacore dot com>
On 12/09/2015 11:04 AM, Tristan Gingold wrote:
> Hello,
>
> the current handling of hfa arrays is not correct: first the length comparison
> is using the size instead of the length so only array of a single float could
> be considered as an hfa.
>
> Second, where used HFA were only considered as struct/union. Incorrect
> accessor (like TYPE_NFIELDS) were used on arrays.
>
> Unfortunately, we donât have the setup to run the gdb testsuite on that
> processor. So this patch was only manually tested (using our own
> internal testsuite) on a slightly older version of gdb.
Note there are now 4 Aarch64 Ubuntu machines available on the gcc compile
farm: gcc113-gcc116.
Thanks,
Pedro Alves