[PATCH] aarch64-core.xml: 32-bit cpsr -> 64-bit pstate
Yao Qi
qiyaoltc@gmail.com
Tue Sep 8 10:06:00 GMT 2015
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 (齐尧)
More information about the Gdb-patches
mailing list