I am sorry, this is log of the latest version (I forget to disable the MMU of 
the previos mail)
(you can see that: when the break point can't work, I use "halt" to stop, the  
cpu mode is "Undefined instruction",
 does not openocd   replace the actual instruction at the breakpoint ?).


Open On-Chip Debugger
> load_image leds/leds_elf
156 bytes written at address 0x00000000
downloaded 156 bytes in 0.000000s (inf KiB/s)
> resume
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x800000d3 pc: 0x0000006c
MMU: disabled, D-Cache: disabled, I-Cache: disabled
> bp 0x78 4
breakpoint set at 0x00000078
> resume
target state: halted
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0x800000d3 pc: 0x00000078
MMU: disabled, D-Cache: disabled, I-Cache: disabled
> resume
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Undefined instruc
tion
cpsr: 0x800000db pc: 0x00000004
MMU: disabled, D-Cache: disabled, I-Cache: disabled
> version
Open On-Chip Debugger 0.5.0-dev-snapshot (2010-11-18-18:00)
>


>>Please try with the latest master branch.
>>
>>Thanks!
>>
>>-- 
>>Øyvind Harboe
>>
>>Can Zylin Consulting help on your project?
>>
>>US toll free 1-866-980-3434 / International +47 51 63 25 00
>>
>>http://www.zylin.com/zy1000.html
>>ARM7 ARM9 ARM11 XScale Cortex
>>JTAG debugger and flash programmer
>
>= = = = = = = = = = = = = = = = = = = =
>                       
>
>        致
>礼!
> 
>                                
>        韦东山
>        ds...@ustc.edu
>          2010-11-18
>_______________________________________________
>Openocd-development mailing list
>Openocd-development@lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/openocd-development

= = = = = = = = = = = = = = = = = = = =
                        

        致
礼!
 
                                 
        韦东山
        ds...@ustc.edu
          2010-11-18
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to