]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Don't put FPEXC and FPSID in org.gnu.gdb.arm.vfp XML
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 21 Sep 2021 16:29:00 +0000 (17:29 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Sep 2021 12:42:10 +0000 (13:42 +0100)
commitb355f08a3724d3f29e1c177dde3a01b649108f98
tree5d0132c7d6705945169cf6810d37acddbe07d568
parent89f4f20e276e6e5dc08fca5e75e2bfbd92280072
target/arm: Don't put FPEXC and FPSID in org.gnu.gdb.arm.vfp XML

Currently we send VFP XML which includes D0..D15 or D0..D31, plus
FPSID, FPSCR and FPEXC.  The upstream GDB tolerates this, but its
definition of this XML feature does not include FPSID or FPEXC.  In
particular, for M-profile cores there are no FPSID or FPEXC
registers, so advertising those is wrong.

Move FPSID and FPEXC into their own bit of XML which we only send for
A and R profile cores.  This brings our definition of the XML
org.gnu.gdb.arm.vfp feature into line with GDB's own (at least for
non-Neon cores...) and means we don't claim to have FPSID and FPEXC
on M-profile.

(It seems unlikely to me that any gdbstub users really care about
being able to look at FPEXC and FPSID; but we've supplied them to gdb
for a decade and it's not hard to keep doing so.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210921162901.17508-5-peter.maydell@linaro.org
configs/targets/aarch64-softmmu.mak
configs/targets/arm-linux-user.mak
configs/targets/arm-softmmu.mak
configs/targets/armeb-linux-user.mak
gdb-xml/arm-neon.xml
gdb-xml/arm-vfp-sysregs.xml [new file with mode: 0644]
gdb-xml/arm-vfp.xml
gdb-xml/arm-vfp3.xml
target/arm/gdbstub.c