On Thursday 25 February 2010, Spencer Oliver wrote:
> 
> +             .chain = arm_command_handlers,

NAK on this one since those command handlers don't know
how to cope wih v7-m cores yet, and plus there's the
command duplication for disassembly.

I think most of the command handlers in that chain can
easily be modified ... just look at the core_type to
see if it's an M-profile core, and if so then do the
relevant thing.  Examples:

        arm reg ... show just two banks ... using
        MSP, or using PSP

        arm core_state ... fail if state != thumb
        
        arm disassemble ... always use thumb2 mode
        (and remove "cortex_m3 disassemble")

That's on my list of stuff-that-should-get-done ...
but it's fine if someone else gets to it before me.

Meanwhile, since it's not yet done ... this patch
would be inappropriate to merge.

- Dave
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to