binutils-gdb/gdb/arch
Alan Hayward 6dc0ebde59 AArch64: Add pointer authentication feature
Pointer Authentication is a new feature in AArch64 v8.3-a. When enabled in
the compiler, function return addresses will be mangled by the kernel.

Add register description xml and wire up to aarch64_linux_read_description.
This description includes the two pauth user registers.

Nothing yet uses the feature - that is added in later patches.

gdb/ChangeLog:

	* aarch64-linux-nat.c
	(aarch64_linux_nat_target::read_description): Add pauth param.
	* aarch64-linux-tdep.c
	(aarch64_linux_core_read_description): Likewise.
	* aarch64-tdep.c (struct target_desc): Add in pauth.
	(aarch64_read_description): Add pauth param.
	(aarch64_gdbarch_init): Likewise.
	* aarch64-tdep.h (aarch64_read_description): Likewise.
	* arch/aarch64.c (aarch64_create_target_description): Likewise.
	* arch/aarch64.h (aarch64_create_target_description): Likewise.
	* features/Makefile: Add new files.
	* features/aarch64-pauth.c: New file.
	* features/aarch64-pauth.xml: New file.

gdb/doc/ChangeLog:

	* gdb.texinfo: Describe pauth feature.

gdb/gdbserver/ChangeLog:

	* linux-aarch64-ipa.c (get_ipa_tdesc): Add pauth param.
	(initialize_low_tracepoint): Likewise.
	* linux-aarch64-low.c (aarch64_arch_setup): Likewise.
	* linux-aarch64-tdesc-selftest.c (aarch64_tdesc_test): Likewise.
	* linux-aarch64-tdesc.c (struct target_desc): Likewise.
	(aarch64_linux_read_description): Likewise.
	* linux-aarch64-tdesc.h (aarch64_linux_read_description): Likewise.
2019-03-22 09:58:42 +00:00
..
aarch64-insn.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
aarch64-insn.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
aarch64.c AArch64: Add pointer authentication feature 2019-03-22 09:58:42 +00:00
aarch64.h AArch64: Add pointer authentication feature 2019-03-22 09:58:42 +00:00
amd64.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
amd64.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
arm-get-next-pcs.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
arm-get-next-pcs.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
arm-linux.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
arm-linux.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
arm.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
arm.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
i386.c Support the fs_base and gs_base registers on i386. 2019-03-12 13:39:02 -07:00
i386.h Support the fs_base and gs_base registers on i386. 2019-03-12 13:39:02 -07:00
ppc-linux-common.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
ppc-linux-common.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
ppc-linux-tdesc.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
riscv.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
riscv.h gdb/riscv: Split ISA and ABI features 2019-01-01 22:56:16 +00:00
tic6x.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tic6x.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
xtensa.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00