aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2019-11-18 16:36:53 -0300
committerLuis Machado <luis.machado@linaro.org>2019-11-20 13:57:34 -0300
commit6cdd651fda1315cb43a6a50223350da0da3f6dcf (patch)
tree75ff8739197715b1945267077bc157335556178e /gdb/gdbserver/ChangeLog
parent94c9b9db4b689bc1ae643e053580db1fdfaee2d4 (diff)
downloadfsf-binutils-gdb-6cdd651fda1315cb43a6a50223350da0da3f6dcf.zip
fsf-binutils-gdb-6cdd651fda1315cb43a6a50223350da0da3f6dcf.tar.gz
fsf-binutils-gdb-6cdd651fda1315cb43a6a50223350da0da3f6dcf.tar.bz2
Improve target description check for SVE in gdbserver
The current code checks for the presence of a SVE target description by comparing the number of registers. This is a bit fragile since the number of registers can change whenever we add new sets. Like PAC, for example. If the comparison breaks, then we're left with SVE registers in the description, but gdbserver doesn't send the registers to GDB, which in turn displays stale information to the user. The following patch changes the check to use the SVE feature string instead, which hopefully should be more stable. gdb/gdbserver/ChangeLog: 2019-11-20 Luis Machado <luis.machado@linaro.org> * linux-aarch64-low.c (is_sve_tdesc): Check against target feature instead of register count. * tdesc.c (tdesc_contains_feature): New function. * tdesc.h (tdesc_contains_feature): New prototype. Change-Id: I28b782cb1677560ca9a06a1be442974b25aabae4
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r--gdb/gdbserver/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index fde6abb..a5da6b5 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,10 @@
+2019-11-20 Luis Machado <luis.machado@linaro.org>
+
+ * linux-aarch64-low.c (is_sve_tdesc): Check against target feature
+ instead of register count.
+ * tdesc.c (tdesc_contains_feature): New function.
+ * tdesc.h (tdesc_contains_feature): New prototype.
+
2019-11-15 Christian Biesinger <cbiesinger@google.com>
* Makefile.in: Add safe-strerror.c.