8sa1-binutils-gdb/gdb/nat
Luis Machado 4601818e8c AArch64: Implement memory tagging target methods for AArch64
The patch implements the memory tagging target hooks for AArch64, so we
can handle MTE.

gdb/ChangeLog:

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

	* Makefile.in (ALL_64_TARGET_OBS): Add arch/aarch64-mte-linux.o.
	(HFILES_NO_SRCDIR): Add arch/aarch64-mte-linux.h and
	nat/aarch64-mte-linux-ptrace.h.
	* aarch64-linux-nat.c: Include nat/aarch64-mte-linux-ptrace.h.
	(aarch64_linux_nat_target) <supports_memory_tagging>: New method
	override.
	<fetch_memtags>: New method override.
	<store_memtags>: New method override.
	(aarch64_linux_nat_target::supports_memory_tagging): New method.
	(aarch64_linux_nat_target::fetch_memtags): New method.
	(aarch64_linux_nat_target::store_memtags): New method.
	* arch/aarch64-mte-linux.c: New file.
	* arch/aarch64-mte-linux.h: Include gdbsupport/common-defs.h.
	(AARCH64_MTE_GRANULE_SIZE): Define.
	(aarch64_memtag_type): New enum.
	(aarch64_mte_get_tag_granules): New prototype.
	* configure.nat (NATDEPFILES): Add nat/aarch64-mte-linux-ptrace.o.
	* configure.tgt (aarch64*-*-linux*): Add arch/aarch64-mte-linux.o.
	* nat/aarch64-mte-linux-ptrace.c: New file.
	* nat/aarch64-mte-linux-ptrace.h: New file.
2021-03-24 14:53:56 -03:00
..
aarch64-linux-hw-point.c Add comment regarding include order of <sys/ptrace.h> and <asm/ptrace.h> 2021-02-24 14:35:07 -07:00
aarch64-linux-hw-point.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-linux.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-linux.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-mte-linux-ptrace.c AArch64: Implement memory tagging target methods for AArch64 2021-03-24 14:53:56 -03:00
aarch64-mte-linux-ptrace.h AArch64: Implement memory tagging target methods for AArch64 2021-03-24 14:53:56 -03:00
aarch64-sve-linux-ptrace.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
aarch64-sve-linux-ptrace.h Add comment regarding include order of <sys/ptrace.h> and <asm/ptrace.h> 2021-02-25 15:30:32 -07:00
aarch64-sve-linux-sigcontext.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
amd64-linux-siginfo.c amd64-linux-siginfo.c: Adjust include order to avoid gnulib error 2021-02-18 22:56:56 -07:00
amd64-linux-siginfo.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
fork-inferior.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
fork-inferior.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb_ptrace.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb_thread_db.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
glibc_thread_db.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
linux-btrace.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-btrace.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-namespaces.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-namespaces.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-nat.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-osdata.c gdb: make some variables static 2021-01-20 20:55:05 -05:00
linux-osdata.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-personality.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-personality.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-procfs.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-procfs.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-ptrace.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-ptrace.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-waitpid.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
linux-waitpid.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips-linux-watch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips-linux-watch.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
netbsd-nat.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
netbsd-nat.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ppc-linux.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ppc-linux.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
riscv-linux-tdesc.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
riscv-linux-tdesc.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
windows-nat.c Use debug_prefixed_printf_cond in windows-nat.c 2021-01-26 08:49:38 -07:00
windows-nat.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-cpuid.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-dregs.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-dregs.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-gcc-cpuid.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-linux-dregs.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-linux-dregs.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-linux.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
x86-linux.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00