Native tools with freedom-u-sdk?

(Daniel) #1

I’m having some trouble trying to get gdb running natively. I got the tools to compile using the native-toolchain branch of riscv-gnu-toolchain, but when I run gdb after booting Linux with spike I get an illegal instruction error. Is using gdb natively like this supported, or is the only way to attach gdb to spike running the entire Linux?

Thanks a lot!

(Megan A. Wachs) #2

Are you running GDB as a process in spike? Or trying to use GDB to connect to a running spike instance as a remote target?

(Daniel) #3

I’m trying to boot Linux with spike, and then run gcc, gdb, etc. inside spike. I also would like to be able to do it after booting Linux on the VC707.