gdbstub: add support for switchable endianness
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | gdbstub: add basic infrastructure to support switchable endiannessgdbstub.c include/ qemu-options.hx +1 more | +119 | 0 replies | |
| 2/3 | arm: gdbstub: add support for switchable endiannessconfigs/ configs/ target/ +1 more | +4 | 0 replies | |
| 3/3 | riscv: gdbstub: add support for switchable endiannessconfigs/ configs/ target/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] gdbstub: add support for switchable endianness
To resolve the issue to debug switchable targets, this serias introduces basic infrastructure for gdbstub and enable support for ARM and RISC-V targets.
For example, now there is no problem to debug an big-enadian aarch64 target on x86 host.
$ qemu-system-aarch64 -gdb tcp::1234,endianness=big ...
Changbin Du (3):
gdbstub: add basic infrastructure to support switchable endianness
arm: gdbstub: add support for switchable endianness
riscv: gdbstub: add support for switchable endianness
configs/targets/aarch64-softmmu.mak | 1 + configs/targets/arm-softmmu.mak | 1 + configs/targets/riscv32-softmmu.mak | 1 + configs/targets/riscv64-softmmu.mak | 1 + gdbstub.c | 11 +++++ include/exec/gdbstub.h | 72 +++++++++++++++++++++-------- qemu-options.hx | 7 ++- softmmu/vl.c | 50 +++++++++++++++++++- target/arm/gdbstub.c | 2 +- target/arm/gdbstub64.c | 2 +- target/riscv/gdbstub.c | 12 ++--- 11 files changed, 131 insertions(+), 29 deletions(-)
Signature · 1 line
2.32.0