aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@arm.com>2023-04-03 10:43:34 +0100
committerLuis Machado <luis.machado@arm.com>2023-04-14 13:44:11 +0100
commitacdf60711d44d20608873bec0376688c9a80e281 (patch)
treef04f326c4e234c02c15d14d9cf489b00acb9a6ec /gdb/NEWS
parente10d82fc3ed03ee03f7c831a5b1e73c6c5ed3722 (diff)
downloadgdb-acdf60711d44d20608873bec0376688c9a80e281.zip
gdb-acdf60711d44d20608873bec0376688c9a80e281.tar.gz
gdb-acdf60711d44d20608873bec0376688c9a80e281.tar.bz2
pauth: Create new feature string for pauth to prevent crashing older gdb's
Older gdb's (9, 10, 11 and 12) have a bug that causes them to crash whenever a target reports the pauth feature string in the target description and also provide additional register outside of gdb's known and expected feature strings. This was fixed in gdb 13 onwards, but that means we're stuck with gdb's out there that will crash on connection to the above targets. QEMU has postponed inclusion of the pauth feature string in version 8, and instead we agreed to use a new feature name to prevent crashing those older gdb's. Initially there was a plan to backport a trivial fix all the way to gdb 9, but given QEMU's choice, this is no longer needed. This new feature string is org.gnu.gdb.aarch64.pauth_v2, and should be used by all targets going forward, except native linux gdb and gdbserver, for backwards compatibility with older gdb's/gdbserver's. gdb/gdbserver will still emit the old feature string for Linux since it doesn't report additional system registers and thus doesn't cause a crash of older gdb's. We can revisit this in the future once the problematic gdb's are likely no longer in use. I've added some documentation to explain the situation.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 10a1a70..54b5da2 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,10 @@
*** Changes since GDB 13
+* The AArch64 'org.gnu.gdb.aarch64.pauth' Pointer Authentication feature string
+ has been deprecated in favor of the 'org.gnu.gdb.aarch64.pauth_v2' feature
+ string.
+
* GDB now has some support for integer types larger than 64 bits.
* Removed targets and native configurations