forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -52,7 +52,9 @@ case "${gdbserver_host}" in
|
||||
srv_tgtobj="$srv_tgtobj nat/aarch64-linux.o"
|
||||
srv_tgtobj="$srv_tgtobj arch/aarch64-insn.o"
|
||||
srv_tgtobj="$srv_tgtobj arch/aarch64.o"
|
||||
srv_tgtobj="$srv_tgtobj arch/aarch64-mte-linux.o"
|
||||
srv_tgtobj="$srv_tgtobj linux-aarch64-tdesc.o"
|
||||
srv_tgtobj="$srv_tgtobj nat/aarch64-mte-linux-ptrace.o"
|
||||
srv_tgtobj="$srv_tgtobj nat/aarch64-sve-linux-ptrace.o"
|
||||
srv_tgtobj="${srv_tgtobj} $srv_linux_obj"
|
||||
srv_linux_regsets=yes
|
||||
|
||||
Reference in New Issue
Block a user