Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GDB Script for log executed asm instruction (RISCV)
set confirm off
tbreak start_trigger
r
set logging overwrite on
set logging on
set height 0
set style enabled off
while (1)
x/i $pc
stepi
end
quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment