Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
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