I just wanted to mention a work around I have been using for debugging. I have been using OpenOCD running externally from the RiscFree IDE.
- Terminal: openocd-cfg-gen debugger.cfg
- Terminal: openocd -f debugger.cfg
- IDE: Create "GDB OpenOCD Debugging Launcher"
- IDE: On Main Configure executable.
- IDE: Setup to compile the program before launch.
- IDE: On Debugger tab Uncheck "Start OpenOCD locally". I'm running it externally to make things easier. I guess you can launch it from here if you wanted.
- IDE: Executable name ${eclipse_home}/../toolchain/riscv32-unknown-elf/bin/riscv32-unknown-elf-gdb. This was automatically filled.
- IDE: Commands: set mem inaccessible-by-default off. Again automatically filled.
- IDE: Remote Target Host: localhost Port: 3333. Again automatically filled.
- IDE: I left the other settings at their defaults.
This seems to be pretty reliable to me (but slower).