Keil™, An ARM® Company

Technical Support

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