Created
April 14, 2021 08:06
-
-
Save ibndias/917334eb0993d878ab453266d1160f8d to your computer and use it in GitHub Desktop.
GDB Script for log executed asm instruction (RISCV)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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