Hi,
I am trying to single asm step through ARM7TDMI code compiled for THUMB. I am using the yagarto toolchain with GDB / Insight 6.8.
Unfortunately GDB/GDBServer think the code is ARM and is disassembling incorrectly, if i objdump the elf file it uses the ELF headers to do correct THUMB disassembly.
Does anyone know the 'monitor xx' command to switch to THUMB mode ? neither the supplied GDBServer documentation or the J-Link ARM documentation describe how to this.
I am trying to single asm step through ARM7TDMI code compiled for THUMB. I am using the yagarto toolchain with GDB / Insight 6.8.
Unfortunately GDB/GDBServer think the code is ARM and is disassembling incorrectly, if i objdump the elf file it uses the ELF headers to do correct THUMB disassembly.
Does anyone know the 'monitor xx' command to switch to THUMB mode ? neither the supplied GDBServer documentation or the J-Link ARM documentation describe how to this.