aboutsummaryrefslogtreecommitdiff
path: root/gdb-xml/aarch64-pauth.xml
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-04-20 10:21:16 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-04-20 10:21:16 +0100
commit7bdd67a56036123b52048af45d304a2c926daa8a (patch)
treeca43208abcf10b2986aa70947225c4e136b24319 /gdb-xml/aarch64-pauth.xml
parent0f40f7cabe82be49521779e6c4a6e5d2e09af89b (diff)
downloadqemu-7bdd67a56036123b52048af45d304a2c926daa8a.zip
qemu-7bdd67a56036123b52048af45d304a2c926daa8a.tar.gz
qemu-7bdd67a56036123b52048af45d304a2c926daa8a.tar.bz2
target/arm: Report pauth information to gdb as 'pauth_v2'
So that we can avoid the "older gdb crashes" problem described in commit 5787d17a42f7af4 and which caused us to disable reporting pauth information via the gdbstub, newer gdb is going to implement support for recognizing the pauth information via a new feature name: org.gnu.gdb.aarch64.pauth_v2 Older gdb won't recognize this feature name, so we can re-enable the pauth support under the new name without risking them crashing. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230406150827.3322670-1-peter.maydell@linaro.org
Diffstat (limited to 'gdb-xml/aarch64-pauth.xml')
-rw-r--r--gdb-xml/aarch64-pauth.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb-xml/aarch64-pauth.xml b/gdb-xml/aarch64-pauth.xml
index 24af5f9..0a5c566 100644
--- a/gdb-xml/aarch64-pauth.xml
+++ b/gdb-xml/aarch64-pauth.xml
@@ -6,7 +6,7 @@
notice and this notice are preserved. -->
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
-<feature name="org.gnu.gdb.aarch64.pauth">
+<feature name="org.gnu.gdb.aarch64.pauth_v2">
<reg name="pauth_dmask" bitsize="64"/>
<reg name="pauth_cmask" bitsize="64"/>
<reg name="pauth_dmask_high" bitsize="64"/>