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]
=> Stepx
instructions. If nox
is given, step 1 instruction.b [addr]
=> Set a breakpoint at addressaddr
.d [addr]
=> Delete the breakpoint at addressaddr
. If noaddr
is 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 addressaddr
as a string.p [r]
=> Print the registerr
specified aspc
orx[0-31]
.dump
=> Print all registers.perf
=> Print performance statistics.