mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() The code to handle setting SVE registers via the gdbstub is broken: * it sets each pair of elements in the zregs[].d[] array in the wrong order for the most common (little endian) case: the least significant 64-bit value comes first * it makes no attempt to handle target_endian() * it does a simple copy out of the (target endian) gdbstub buffer into the (host endan) zregs data structure, which is wrong on big endian hosts Fix all these problems: * use ldq_p() to read from the gdbstub buffer * check target_big_endian() to see if we need to handle the 128-bit values the opposite way around Cc: qemu-stable@nongnu.org Signed-off-by: Vacha Bhavsar <vacha.bhavsar@oss.qualcomm.com> Message-id: 20250722173736.2332529-3-vacha.bhavsar@oss.qualcomm.com [PMM: adjusted commit message, fixed spacing] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
1 week ago | |
---|---|---|
.. | ||
hvf | 2 weeks ago | |
tcg | 2 weeks ago | |
Kconfig | 1 year ago | |
arch_dump.c | 3 months ago | |
arm-powerctl.c | 8 months ago | |
arm-powerctl.h | 7 years ago | |
arm-qmp-cmds.c | 4 weeks ago | |
common-semi-target.h | 2 years ago | |
cortex-regs.c | 2 years ago | |
cpregs-pmu.c | 2 weeks ago | |
cpregs.h | 1 month ago | |
cpu-features.h | 1 month ago | |
cpu-param.h | 3 months ago | |
cpu-qom.h | 3 months ago | |
cpu-sysregs.h | 1 month ago | |
cpu-sysregs.h.inc | 1 month ago | |
cpu.c | 4 weeks ago | |
cpu.h | 1 month ago | |
cpu32-stubs.c | 3 months ago | |
cpu64.c | 1 month ago | |
debug_helper.c | 1 week ago | |
gdbstub.c | 4 months ago | |
gdbstub64.c | 1 week ago | |
gtimer.h | 5 months ago | |
helper.c | 1 month ago | |
helper.h | 3 months ago | |
hvf-stub.c | 2 months ago | |
hvf_arm.h | 2 months ago | |
hyp_gdbstub.c | 3 months ago | |
idau.h | 5 years ago | |
internals.h | 2 weeks ago | |
kvm-consts.h | 1 year ago | |
kvm-stub.c | 1 month ago | |
kvm.c | 1 month ago | |
kvm_arm.h | 3 weeks ago | |
machine.c | 1 month ago | |
meson.build | 1 month ago | |
multiprocessing.h | 2 years ago | |
ptw.c | 1 month ago | |
syndrome.h | 1 month ago | |
tcg-stubs.c | 1 month ago | |
trace-events | 1 year ago | |
trace.h | 5 years ago | |
vfp_fpscr.c | 6 months ago |