This series allows hexagon programs to be debugged under qemu user-mode through LLDB and qemu's gdbstub. LLDB implements the GDB remote serial protocol, so most of the necessary changes are in the Hexagon part itself. However, one fix is needed at the arch-independent side too. This comes from [1], which is now incorporated in this series.
[1]: https://lore.kernel.org/qemu-devel/cover.1663677789.git.quic_mathb...@quicinc.com/ Brian Cain (3): gdbstub: add support for the qRegisterInfo query Hexagon: support qRegisterInfo at gdbstub Hexagon (gdbstub): fix p3:0 read and write via stub Matheus Tavares Bernardino (2): gdbstub: only send stop-reply packets when allowed to gdbstub: add test for untimely stop-reply packets Taylor Simpson (2): Hexagon (gdbstub): add HVX support Hexagon (linux-user/hexagon): handle breakpoints gdbstub/internals.h | 5 + include/hw/core/cpu.h | 4 + target/hexagon/gdb_qreginfo.h | 124 ++++++++++++++++++ gdbstub/gdbstub.c | 64 +++++++-- gdbstub/softmmu.c | 13 +- gdbstub/user.c | 17 ++- linux-user/hexagon/cpu_loop.c | 10 ++ target/hexagon/cpu.c | 3 + target/hexagon/gdbstub.c | 76 +++++++++++ tests/guest-debug/run-test.py | 16 ++- .../multiarch/system/Makefile.softmmu-target | 16 ++- 11 files changed, 326 insertions(+), 22 deletions(-) create mode 100644 target/hexagon/gdb_qreginfo.h -- 2.39.1