Debugging RISC-V Linux on QEMU with Eclipse and GDB
Previously, we discussed how to run the RISC-V kernel on QEMU. Now, let’s talk about how to use Eclipse + GDB to debug the kernel on the QEMU platform. ${SIFIVE_DIR} is the local root directory of the freedom-u-sdk open-source project. 1. Configure BBL Configure the bootloader and generate debugging information. Enter the ${SIFIVE_DIR}/work/riscv-pk directory, which … Read more