From: Changbin Du <changbin.du@gmail.com>
To: "Alex Bennée" <alex.bennee@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
qemu-riscv@nongnu.org, Bin Meng <bin.meng@windriver.com>,
qemu-devel@nongnu.org, qemu-arm@nongnu.org,
Alistair Francis <alistair.francis@wdc.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Changbin Du <changbin.du@gmail.com>
Subject: [PATCH 0/3] gdbstub: add support for switchable endianness
Date: Mon, 23 Aug 2021 22:20:01 +0800 [thread overview]
Message-ID: <20210823142004.17935-1-changbin.du@gmail.com> (raw)
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
next reply other threads:[~2021-08-23 14:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-23 14:20 Changbin Du [this message]
2021-08-23 14:20 ` [PATCH 1/3] gdbstub: add basic infrastructure to support switchable endianness Changbin Du
2021-08-23 14:20 ` [PATCH 2/3] arm: gdbstub: add support for " Changbin Du
2021-08-23 14:20 ` [PATCH 3/3] riscv: " Changbin Du
2021-08-23 15:21 ` [PATCH 0/3] " Philippe Mathieu-Daudé
2021-08-23 15:30 ` Peter Maydell
2021-08-23 15:51 ` Philippe Mathieu-Daudé
2021-08-23 23:05 ` Changbin Du
2021-08-24 9:11 ` Peter Maydell
2021-08-27 14:49 ` Changbin Du
2021-08-28 10:51 ` Peter Maydell
2021-08-23 22:47 ` Changbin Du
2021-08-23 15:23 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210823142004.17935-1-changbin.du@gmail.com \
--to=changbin.du@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=alistair.francis@wdc.com \
--cc=bin.meng@windriver.com \
--cc=palmer@dabbelt.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).