[AArch64][2/6] "pauth" feature gdbserver support
Jiong Wang
jiong.wang@foss.arm.com
Wed Aug 9 12:22:00 GMT 2017
This patch adds the new ARMv8.3-A pointer authentication feature support for
gdbserver on linux configuration.
The support is straightforward. "pauth" ptrace regset are added, and store
function (read from ptrace and store into regcache) is implemented.
gdb/gdbserver/
2017-08-09 Jiong Wang<jiong.wang@arm.com>
* configure.srv (srv_regobj): Add aarch64-pauth.o.
(srv_xmlfiles): Add aarch64-pauth.xml and aarch64-pauth-core.xml.
(ipa_obj): Add aarch64-pauth.o.
* linux-aarch64-low.c (init_registers_aarch64_pauth): New
declaration.
(tdesc_aarch64_pauth): Likewise.
(aarch64_store_pauthregset): Likewise.
(aarch64_cannot_store_register): Add some comments.
(aarch64_linux_read_description): Support pauth feature.
(aarch64_pauth_regsets): New regset_info.
(aarch64_pauth_regsets_info): New regsets_info.
(regs_info_aarch64_pauth): New regs_info.
(aarch64_regs_info): Support pauth feature.
(initialize_low_arch): Call init_registers_aarch64_pauth and also
initialize regsets info from aarch64_pauth_regsets_info.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-2.patch
Type: text/x-patch
Size: 4752 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20170809/30613564/attachment.bin>
More information about the Gdb-patches
mailing list