[PATCH] riscv: add gdbserver support

Jim Wilson jimw@sifive.com
Wed Jan 22 00:11:00 GMT 2020


On Tue, Jan 21, 2020 at 5:30 AM Andreas Schwab <schwab@suse.de> wrote:
> Not sure whether the QEMU linux-user emulation is good enough for
> building GDB:

No, I wouldn't recommend a user mode qemu for gdb work.  A system mode
qemu does work for building and running gdb.  I used this to develop
the risc-v linux native gdb port.  Though I suspect trying to run the
gdb testsuite on qemu would find some interesting risc-v qemu bugs.
It is possible to use a cross gdb with a program running on a system
or user mode qemu via target remote, though I don't test this very
often.

Jim



More information about the Gdb-patches mailing list