arm-eabi-gdb unable to disassemble thumb code ?
Posted: Fri Dec 03, 2010 10:20 pm
I use ddd for debugging, a front-end to gdb that was previously capable of working quite well with arm-eabi-gdb. With devkitarm 32, however, it looks like it is no longer able to disassemble Thumb code. At last, it complains about "A syntax error in expression, near `<hex address>'.
The hex address looks to be a part of the offset within a jump instruction.
Any hint ?
Ps: it could be a DDD-specific issue (unfortunately) as manually invoking "disas main" on the gdb console works fine.
The hex address looks to be a part of the offset within a jump instruction.
Any hint ?
Ps: it could be a DDD-specific issue (unfortunately) as manually invoking "disas main" on the gdb console works fine.