zhiwei.chen
zhiwei.chen
I used the latest version of riscv-openocd. When I didn't add '-rtos linux' in openocd.cfg to debug the Linux kernel, I got the error message I mentioned above. Halt the...
This is the objdump result of the breakpoint smp_init  This is the objdump result of the breakpoint start_kernel 
There is someone who used OpenOCD to debug the Linux kernel on the SiFive Unmatched board. https://forums.sifive.com/t/debug-linux-kernel-with-openocd-gdb/5717 He finally gave up on a pure GDB solution and went with FreedomStudio....