sme: Core file support for Linux
authorLuis Machado <luis.machado@arm.com>
Tue, 7 Feb 2023 09:50:47 +0000 (09:50 +0000)
committerLuis Machado <luis.machado@arm.com>
Wed, 4 Oct 2023 15:23:40 +0000 (16:23 +0100)
commit69bfb2b6d08da64c6fe55b624aa28a68193b8b43
tree3810e00aea006380d037a258ef9ab5f389b67a14
parentb93d537fba70f46eae96edaea6010314c047f7ec
sme: Core file support for Linux

This patch enables dumping SME state via gdb's gcore command and also
enables gdb to read SME state from a core file generated by the Linux
Kernel.

Regression-tested on aarch64-linux Ubuntu 22.04/20.04.

Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
gdb/aarch64-linux-tdep.c
gdb/arch/aarch64-scalable-linux.c
gdb/arch/aarch64-scalable-linux.h