]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sme: Support TPIDR2 signal frame context
authorLuis Machado <luis.machado@arm.com>
Thu, 16 Mar 2023 12:14:18 +0000 (12:14 +0000)
committerLuis Machado <luis.machado@arm.com>
Wed, 4 Oct 2023 15:23:40 +0000 (16:23 +0100)
commite58e9cc14e4533b2e463f13db518c4c735d02fcf
tree484ac6a91853bb1b27b050ece8005654ad24f22d
parent5add3fce49f1c36a47651238fb0b0592a04d645e
sme: Support TPIDR2 signal frame context

The Linux Kernel defines a separate context for the TPIDR2 register in a
signal frame.  Handle this additional context in gdb so this register
gets restored properly when unwinding through signal frames.

The TPIDR2 register is closely related to SME, and is available when SME
support is reported.

This is tested by testcases that are available in a later patch in the series.

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

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