target/arm: Don't advertise aarch64-pauth.xml to gdb
commit5787d17a42f7af4bd117e5d6bfa54b1fdf93c255
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Mar 2023 16:50:57 +0000 (17 16:50 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 21 Mar 2023 13:19:08 +0000 (21 13:19 +0000)
treee2c791434b4ddc85adaa8d34107ad0505f96bdf1
parentd4e2cc9aa4f2c8c4782fd18aa25e76d26e98111c
target/arm: Don't advertise aarch64-pauth.xml to gdb

Unfortunately a bug in older versions of gdb means that they will
crash if QEMU sends them the aarch64-pauth.xml.  This bug is fixed in
gdb commit 1ba3a3222039eb25, and there are plans to backport that to
affected gdb release branches, but since the bug affects gdb 9
through 12 it is very widely deployed (for instance by distros).

It is not currently clear what the best way to deal with this is; it
has been proposed to define a new XML feature name that old gdb will
ignore but newer gdb can handle.  Since QEMU's 8.0 release is
imminent and at least one of our CI runners is now falling over this,
disable the pauth XML for the moment.  We can follow up with a more
considered fix either in time for 8.0 or else for the 8.1 release.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/gdbstub.c