]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
GDB: aarch64-linux: GCS support in Linux signals
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>
Fri, 2 May 2025 00:24:01 +0000 (21:24 -0300)
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>
Fri, 29 Aug 2025 21:35:58 +0000 (18:35 -0300)
commita5ae00c47eb678462c5d2ed9c3b31fc59bb4ba45
treed4dd687cf978b9bf489e37cb94089cccb31eafb0
parentff62d39aa4999f44ac79360dee6357fc69d4e322
GDB: aarch64-linux: GCS support in Linux signals

The signal frame can have a GCS context, so teach GDB how to use it.

Also, there's a new SEGV sigcode when the inferior does an illegal
memory access in the Guarded Control Stack, so display a message when
that is the case.

Reviewed-By: Christina Schimpe <christina.schimpe@intel.com>
Approved-By: Luis Machado <luis.machado@arm.com>
gdb/aarch64-linux-tdep.c
gdb/linux-tdep.h
gdb/testsuite/gdb.arch/aarch64-gcs-core.exp
gdb/testsuite/gdb.arch/aarch64-gcs.exp