This is a debugging emulator for RiscV64 Linux, similar to qemu-user.
If you pass the -d flag it will drop you into a debugger interface similar to GDB.
I wrote this because using gdb-multiarch + qemu-user via GDB Remote is an awful experience and I was sick of it.
q/CTRL-c=> Quit program.ALT-k=> Switch focus to assembly view.j/k=> Move assembly view down/up.ALT-j=> Switch focus to debugger.
r=> Run program, ignoring any breakpoints.s [x]=> Stepxinstructions. If noxis given, step 1 instruction.b [addr]=> Set a breakpoint at addressaddr.d [addr]=> Delete the breakpoint at addressaddr. If noaddris given, delete all breakpoints.c=> Continue until the next breakpoint is reached.i=> Print the current instruction.x [addr]=> Print memory (dword) at addressaddr.xb [addr]=> Print byte at addressaddr.xh [addr]=> Print half at addressaddr.xw [addr]=> Print word at addressaddr.xd [addr]=> Print dword at addressaddr.
xs [addr]=> Print memory at addressaddras a string.p [r]=> Print the registerrspecified aspcorx[0-31].dump=> Print all registers.perf=> Print performance statistics.