aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2020-04-02 15:39:13 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-04-03 19:20:42 +0100
commit9231951aa5ac0ae813818b8ff33d4ccaaabb16e8 (patch)
tree6d3d35ff68e87cc18fb231a9f5b03cf9a2b14b1e
parent146aa0f104bb3bf88e43c4082a0bfc4bbda4fbd8 (diff)
downloadqemu-9231951aa5ac0ae813818b8ff33d4ccaaabb16e8.zip
qemu-9231951aa5ac0ae813818b8ff33d4ccaaabb16e8.tar.gz
qemu-9231951aa5ac0ae813818b8ff33d4ccaaabb16e8.tar.bz2
target/arm: don't expose "ieee_half" via gdbstub
While support for parsing ieee_half in the XML description was added to gdb in 2019 (a6d0f249) there is no easy way for the gdbstub to know if the gdb end will understand it. Disable it for now and allow older gdbs to successfully connect to the default -cpu max SVE enabled QEMUs. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200402143913.24005-1-alex.bennee@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target/arm/gdbstub.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/arm/gdbstub.c b/target/arm/gdbstub.c
index d9ef7d2..8efc535 100644
--- a/target/arm/gdbstub.c
+++ b/target/arm/gdbstub.c
@@ -192,7 +192,12 @@ static const struct TypeSize vec_lanes[] = {
/* 16 bit */
{ "uint16", 16, 'h', 'u' },
{ "int16", 16, 'h', 's' },
- { "ieee_half", 16, 'h', 'f' },
+ /*
+ * TODO: currently there is no reliable way of telling
+ * if the remote gdb actually understands ieee_half so
+ * we don't expose it in the target description for now.
+ * { "ieee_half", 16, 'h', 'f' },
+ */
/* bytes */
{ "uint8", 8, 'b', 'u' },
{ "int8", 8, 'b', 's' },