All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] gdbstub: add support for switchable endianness
@ 2021-08-23 14:20 ` Changbin Du
  0 siblings, 0 replies; 26+ messages in thread
From: Changbin Du @ 2021-08-23 14:20 UTC (permalink / raw)
  To: Alex Bennée, Philippe Mathieu-Daudé
  Cc: Peter Maydell, qemu-riscv, Bin Meng, qemu-devel, qemu-arm,
	Alistair Francis, Paolo Bonzini, Palmer Dabbelt, Changbin Du

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(-)

-- 
2.32.0



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2021-08-28 10:53 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23 14:20 [PATCH 0/3] gdbstub: add support for switchable endianness Changbin Du
2021-08-23 14:20 ` Changbin Du
2021-08-23 14:20 ` [PATCH 1/3] gdbstub: add basic infrastructure to support " Changbin Du
2021-08-23 14:20   ` Changbin Du
2021-08-23 14:20 ` [PATCH 2/3] arm: gdbstub: add support for " Changbin Du
2021-08-23 14:20   ` Changbin Du
2021-08-23 14:20 ` [PATCH 3/3] riscv: " Changbin Du
2021-08-23 14:20   ` Changbin Du
2021-08-23 15:21 ` [PATCH 0/3] " Philippe Mathieu-Daudé
2021-08-23 15:21   ` Philippe Mathieu-Daudé
2021-08-23 15:30   ` Peter Maydell
2021-08-23 15:30     ` Peter Maydell
2021-08-23 15:51     ` Philippe Mathieu-Daudé
2021-08-23 15:51       ` Philippe Mathieu-Daudé
2021-08-23 23:05     ` Changbin Du
2021-08-23 23:05       ` Changbin Du
2021-08-24  9:11       ` Peter Maydell
2021-08-24  9:11         ` Peter Maydell
2021-08-27 14:49         ` Changbin Du
2021-08-27 14:49           ` Changbin Du
2021-08-28 10:51           ` Peter Maydell
2021-08-28 10:51             ` Peter Maydell
2021-08-23 22:47   ` Changbin Du
2021-08-23 22:47     ` Changbin Du
2021-08-23 15:23 ` Peter Maydell
2021-08-23 15:23   ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.