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.
arm-eabi-gdb unable to disassemble thumb code ?
arm-eabi-gdb unable to disassemble thumb code ?
NDS is the neatest piece of hardware since the C=64! Thanks for making it programmable ^_^
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: arm-eabi-gdb unable to disassemble thumb code ?
It's a DDD problem, you'll need to find one that's been updated for gdb 7.2
Re: arm-eabi-gdb unable to disassemble thumb code ?
Thanks, yeah. I figured out yesterday that it affected not only thumb ARM, but all the code, and that there was a trivial patch on the Ubuntu launchpad.
Sorry for the trouble. Now, I'll have to find out how to avoid those stalls with desmume's GDB stub
Sorry for the trouble. Now, I'll have to find out how to avoid those stalls with desmume's GDB stub
NDS is the neatest piece of hardware since the C=64! Thanks for making it programmable ^_^
Who is online
Users browsing this forum: No registered users and 1 guest