gdb and thumb-2

arm-none-eabi-GDB (codesourcery) seems to be stuck in 32 bits arm mode for assembler, and I can’t find a way to switch it to thumb-2 (for Cortex M3 debugging)

Anyone knows how to do that ?

There are still issues (especially with asm) when using gdb to debug a v7 target.

To get codesourcery gdb to behave correctly you have to supply a target.xml

This is work in progress - one day i will add support to openocd fully.

Here is a patch from the mailing list:

https://lists.berlios.de/pipermail/open … 02421.html

Cheers

Spen