Generally speaking, use rumprun -D [port]
and target remote:[port]
in gdb.
disas
ordisas startaddr endaddr
- disassembles around current PC or specific addressinfo locals/args/variables
- prints out local variables, function arguments, all variables...info registers
- prints out all registers and their valuesbreak file:linenr
- sets a breakpoint on specific file/linec
- continue executionn
- step to next command in current stack framesi
- step by single instruction