AArch64: Add gdbserver MTE support
authorLuis Machado <luis.machado@linaro.org>
Mon, 15 Jun 2020 18:38:43 +0000 (15:38 -0300)
committerLuis Machado <luis.machado@linaro.org>
Wed, 24 Mar 2021 17:56:33 +0000 (14:56 -0300)
commit41919a58ce12a0ed6230b2f3820c65ad980ca19e
tree31091439ea9dc033e6e520c5f8fd0160e50b63f4
parentcf44c9fa1b94837b093752854370b9c2db531264
AArch64: Add gdbserver MTE support

Adds the AArch64-specific memory tagging support (MTE) by implementing the
required hooks and checks for GDBserver.

gdbserver/ChangeLog:

2021-03-24  Luis Machado  <luis.machado@linaro.org>

* Makefile.in (SFILES): Add /../gdb/nat/aarch64-mte-linux-ptrace.c.
* configure.srv (aarch64*-*-linux*): Add arch/aarch64-mte-linux.o and
nat/aarch64-mte-linux-ptrace.o.
* linux-aarch64-low.cc: Include nat/aarch64-mte-linux-ptrace.h.
(class aarch64_target) <supports_memory_tagging>
<fetch_memtags, store_memtags>: New method overrides.
(aarch64_target::supports_memory_tagging)
(aarch64_target::fetch_memtags)
(aarch64_target::store_memtags): New methods.
gdbserver/ChangeLog
gdbserver/Makefile.in
gdbserver/configure.srv
gdbserver/linux-aarch64-low.cc