Re: [PATCH] riscv: add gdbserver support

Jim Wilson
2020-01-22T00:11:52Z

On Tue, Jan 21, 2020 at 5:00 AM Andrew Burgess
<andrew.burgess@embecosm.com> wrote:
> [1] https://fedoraproject.org/wiki/Architectures/RISC-V/Installing
>
> If anyone knows of some instructions that will result in a RISC-V VM
> that works (defined as can configure/build GDB) do please let me know.

The instructions should work. RISC-V Fedora started a mass rebuild in
mid January, but the images listed by virt-builder should be OK. Also
keep in mind that you could be hitting a qemu bug, and you might want
to try a different qemu version or top of tree for the qemu sources.
There is a known bug in the RISC-V qemu-4.2 port that can causes FP
programs to fail for instance, a patch was contributed last week to
fix this. It helps if you mention exactly which fedora image you are
using and exactly which qemu version you are using.

Jim