This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] aarch64/gdbserver: fix floating point registers display
- From: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: Richard Earnshaw <rearnsha at arm dot com>, Catalin Udma <catalin dot udma at freescale dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 13 Aug 2014 14:25:34 +0200
- Subject: Re: [PATCH] aarch64/gdbserver: fix floating point registers display
- Authentication-results: sourceware.org; auth=none
- References: <1407835166-827-1-git-send-email-catalin dot udma at freescale dot com> <53E9E1C2 dot 6010707 at arm dot com> <53E9EB9A dot 7000304 at codesourcery dot com>
On Tue, 2014-08-12 at 18:25 +0800, Yao Qi wrote:
> On 08/12/2014 05:43 PM, Richard Earnshaw wrote:
> > This doesn't seem right to me. The CPSR is a 32-bit register, not a
> > 64-bit one.
>
> cpsr is 64-bit in the target description, see
> gdb/features/aarch64-core.xml,
>
> <reg name="cpsr" bitsize="64"/>
>
> We need to fix it.
The 'it' in 'fix it' is ambiguous to me.
Does the 'it' mean:
fix aarch64-core.xml to change cpsr to 32 bits ?
or does that confirm the initial proposal i.e.
fix e.g. aarch64.dat to change cpsr to 64 bits ?
Philippe
(following the discussion, to update Valgrind aarch64 gdbserver
accordingly)