This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] aarch64-core.xml: 32-bit cpsr -> 64-bit pstate
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Yao Qi <qiyaoltc at gmail dot com>, Richard Earnshaw <Richard dot Earnshaw at foss dot arm dot com>, gdb-patches at sourceware dot org, pinskia at gmail dot com, catalin dot udma at freescale dot com
- Date: Tue, 08 Sep 2015 11:06:37 +0100
- Subject: Re: [PATCH] aarch64-core.xml: 32-bit cpsr -> 64-bit pstate
- Authentication-results: sourceware.org; auth=none
- References: <1441284969-30465-1-git-send-email-yao dot qi at linaro dot org> <55EE13C3 dot 6000008 at foss dot arm dot com> <86si6p726k dot fsf at gmail dot com> <55EEA028 dot 9000000 at redhat dot com>
Pedro Alves <palves@redhat.com> writes:
> But the change is really not OK as is. You can't have a server _not_
> send "cpsr" and claim that the target description supports
> the "org.gnu.gdb.aarch64.core" feature:
>
> @node AArch64 Features
> @subsection AArch64 Features
> @cindex target descriptions, AArch64 features
>
> The @samp{org.gnu.gdb.aarch64.core} feature is required for AArch64
> targets. It should contain registers @samp{x0} through @samp{x30},
> @samp{sp}, @samp{pc}, and @samp{cpsr}.
>
> If we do go the cpsr->pstate direction, we'll have to add a new
> target feature.
Yes, I realize that we need to add a new feature, like
"org.gnu.gdb.aarch64.core_pstate". I withdraw this patch.
--
Yao (éå)