We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am looking for more example to write arm debugger script. specifically on using the keyword while, newvar, if etc.
How to read some register and get the value in variable to that can be used in while/if statement?
Hello,
The commands are all documented here:https://developer.arm.com/documentation/101471/latest/Arm-Debugger-commands
To read a register (say r0) as a variable, use something like:
newvar $foo = $r0 print /x $foo
Regards, Ronan