[PATCH v2 RESEND 0/7] Hexagon: add lldb support

Matheus Tavares Bernardino posted 7 patches 1 year ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1681993775.git.quic._5Fmathbern@quicinc.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Yanan Wang <wangyanan55@huawei.com>, Taylor Simpson <tsimpson@quicinc.com>, Laurent Vivier <laurent@vivier.eu>
There is a newer version of this series
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
[PATCH v2 RESEND 0/7] Hexagon: add lldb support
Posted by Matheus Tavares Bernardino 1 year ago
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.

Changes in v2:
- Rebased on current master
- Added Taylor's Reviewed-by at patch 5

v1: https://lore.kernel.org/qemu-devel/cover.1680808943.git.quic_mathbern@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