This is the start of a LLDB port for both 32 and 64-bit RISC-V, implementing the components needed in order to get basic functionality working with our embedded debug server.
Currently the following things are working:
- RV32I/RV64I base registers
- breakpoints (assumes C extension is enabled)
- frame unwinding (if binary has CFI information)
Currently calling functions via the command line and disassembly based frame unwind is not yet implemented. I haven't yet looked at what tests should be implemented alongside this patch.