aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2018-09-13 16:44:10 +0100
committerAlan Hayward <alan.hayward@arm.com>2018-09-13 16:44:10 +0100
commit9eae688f9a4d99a1a1d4414a2260a08df2f9e0e8 (patch)
treee04efe7f5f2633b0ccb75a74bcb390f76d7168e2 /gdb/doc
parent508d0c9b5945d30bcf163b9b88213d277949e9a8 (diff)
downloadgdb-9eae688f9a4d99a1a1d4414a2260a08df2f9e0e8.zip
gdb-9eae688f9a4d99a1a1d4414a2260a08df2f9e0e8.tar.gz
gdb-9eae688f9a4d99a1a1d4414a2260a08df2f9e0e8.tar.bz2
Aarch64 SVE: Support changing vector lengths for ptrace
When writing registers to the kernel, check if regcache VG has been changed. If so then update the thread's vector length. If required, resize the registers in the kernel dump before writing it back. When reading registers from the kernel, ensure regcache VG register is updated. The regcache registers should already be of the correct length. 2018-09-13 Alan Hayward <alan.hayward@arm.com> gdb/ * aarch64-linux-nat.c (fetch_sveregs_from_thread): Pass regcache. (store_sveregs_to_thread): Likewise. * nat/aarch64-sve-linux-ptrace.c (aarch64_sve_get_sveregs): Check vector length. (aarch64_sve_regs_copy_to_reg_buf): Likewise. (aarch64_sve_regs_copy_from_reg_buf): Likewise. * nat/aarch64-sve-linux-ptrace.h (aarch64_sve_get_sveregs): Add reg_buf arg.
Diffstat (limited to 'gdb/doc')
0 files changed, 0 insertions, 0 deletions