Keil Logo

ARM: STRANGE SINGLE-STEPPING USING GNU IN THUMB MODE


Information in this article applies to:

  • GNU C Compiler for ARM Version 3.22 and Later

QUESTION

If I compile my ARM code in Thumb mode using the GNU compiler, when I start the debugger and single-step the program in the Disassembly window, the debugger skips every other instruction. I have the Compile Thumb Code checkbox enabled. How do I correct this?

ANSWER

Make sure the Support Calls between ARM and Thumb Instruction Set checkbox is checked in the Options for Target, CC tab dialog.

MORE INFORMATION

  • µVision IDE User's Guide, µVision Dialog Pages, Project, Options, Compiler, GNU ARM C Compiler.

SEE ALSO

Last Reviewed: Monday, July 10, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.