This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

disassembly of thumb code

If I set a breakpoint shortly after my main() routine (which runs in thumb mode), the disassembly window shows arm code when the breakpoint is hit. Stepping is really weird because the PC advances by only 2 bytes, but the window still tries to show 4-byte instructions. The CPSR clearly indicates that we are in thumb mode.

Similarly, if I try the u (unassemble) command, it also shows arm instructions. I could not find any extra parameters for the u command to tell it what kind of disassembly to do nor could I find any options for the disassembly window. Is there a way to force this window to show arm or thumb?

0