This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] aarch64-core.xml: 32-bit cpsr -> 64-bit pstate


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]