> 
> > One solution is to first unset all breakpoints, then save the 
> > watchpoint and breakpoint list pointers  and the 
> arm7_9->wp_available 
> > to temporary variables in the algoritm code (and be careful hove to 
> > restore stuff on
> > errors)
> 
> Yes, the backup/restore of the whole list should work
> 
> Regards,
> 
>             Dario 

How about the attached patch.
any disabled breakpoints will be reenabled when the target is resumed in a
non-debug context.

Cheers
Spen

Attachment: breakpoints.patch
Description: Binary data

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

Reply via email to