Maybe so, I have not compared to the cortex code to get the full picture
there, but the call to
arm7_9_enable_breakpoints(target) in arm7_9_resume is necessary in
debug_execution mode to enable
the algorithm breakpoint.
Or all algorithms should be REQUIRED to end with a software
breakpoint/debug instruction.
If this is supported on the target ????
Regards
Magnus
Spen wrote:
>> As I can se it :
>> The disabled breakpoints will be enabled on resume line 1541
>> in arm7_9_common.c when running the algorithm.
>>
>
> i see, i would say the is a bug with the arm4_5 resume.
> should be the similar as the armv7 code
>
> if (!debug_execution)
> {
> target_free_all_working_areas(target);
> cortex_m3_enable_breakpoints(target);
> cortex_m3_enable_watchpoints(target);
> }
>
> i did my initial tests on a cortex.
>
> Cheers
> Spen
>
>
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development