For those of us who don't use GDB much, being able to disassemble things
through OpenOCD is useful.  Ergo, these patches:

 - Add a Thumb2 disassembler entry, which handles the 16-bit stuff
   (there are extensions to Thumb1).  The Cortex-M3 chips can use it.

 - Change the layout of the Thumb disassembly so it copes better with
   32-bit instructions

 - Disassemble one batch of 32-bit instructions:  branches and
   miscellaneous control operations.

 - Another batch:  data processing using "modified immediate" data

 - Another batch:  data processing using "plain binary" immediates

That's it for now.  Coverage for the 32-bit instructions might be
closer to one third than one quarter; I didn't count.  But so far
this seems to be fairly good at covering what GCC will issue.

This has been lightly tested using "objdump -d" to compare against
what the GNU tools say.  I expect there will be minor goofs.

Clearly this is for post-0.2.0 merge!

- dave
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to