There's lots of issues with drivers in our upstream Linux port, but if you're just using QEMU's virt machine then you should be good to go. Both our Linux and GDB ports are currently buggy when it comes to native debugging, but you should be able to take the latest upstream versions of both and at least get some work done. In this case QEMU doesn't actually factor in to the equation, as you're really just looking for a standard Linux GDB port. Running system-mode QEMU, trying to debug a user-mode program (like OpenJDK, for example).I've never done this before, but I think you can still use QEMU's built-in GDB stub and connect with the upstream GDB. Running user-mode QEMU, trying to debug a user-mode program.For this, you should be able to use the upstream RISC-V GDB port attached to QEMU's built-in GDB stup to debug like normal. Running system-mode QEMU, trying to debug a machine-mode or supervisor-mode program (like the Linux kernel, for example).It depends on what you mean by "GDB that works with QEMU".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |