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.
Hi,
I am using Arm Development Studio IDE to remotely debug an application with gdbserver, when I launch the application I have this message: thread 3700 #1 stopped (reserved) and it doesn't let me debug step by step.
How can I remove the reserved restriction and debug it with privileges?
Hi iiiv,
The "RESERVED" mode you are seeing is the Reserved mode in AArch32, which is not a valid mode.Your iMX8 is an Armv8-A target, so you will need an AArch64 gdbserver. Also, in the Debugger's Debug Configuration dialog, you must select Linux Application Debug > Application Debug > Connections via AArch64 gdbserver - see screenshot.
I can reproduce the "stopped in RESERVED mode" you saw if I select "Connections via gdbserver" instead of the (correct) "Connections via AArch64 gdbserver".Hope this helps,Stephen
Hi Stephen,
Is there a way to debug TrustZone or can you give me some indication of how to do it? (I try to debug OPTEE)
Thanks