Native tools with freedom-u-sdk?

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!

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?

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.