]> Git Repo - qemu.git/commitdiff
target/arm: don't expose "ieee_half" via gdbstub
authorAlex Bennée <[email protected]>
Thu, 2 Apr 2020 14:39:13 +0000 (15:39 +0100)
committerPeter Maydell <[email protected]>
Fri, 3 Apr 2020 18:20:42 +0000 (19:20 +0100)
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 <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: 20200402143913[email protected]
Signed-off-by: Peter Maydell <[email protected]>
target/arm/gdbstub.c

index d9ef7d2187c7e0c9aa704246e5c2efe0fc071ba1..8efc535f2a0b6154ee8230bf553d3f479e819181 100644 (file)
@@ -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' },
This page took 0.027312 seconds and 4 git commands to generate.