gdb usage for assembly

Back

gdb ./app

# Start the application
> start

# Get the disassemble source at which the debugger is present
> disassemble

# Print contents of r0 and r1
> info register r0 r1

# Step into next instruction
> stepi