On Monday 23 November 2009, David Brownell wrote:
> NOTE: this is partially broken, it seems to cause some
> other bug(s) to fire. Not sure what's up with that, yet.
The most blatant part of it is a bug in the resume() method, where
it misinterpreted an argument. Fixed by:
--- oocd.orig/src/target/arm11.c 2009-11-23 19:26:02.000000000 -0800
+++ oocd/src/target/arm11.c 2009-11-23 19:18:40.000000000 -0800
@@ -715,8 +715,10 @@ static int arm11_resume(struct target *t
/* clear breakpoints/watchpoints and VCR*/
arm11_sc7_clear_vbw(arm11);
- /* Set up breakpoints */
if (!debug_execution)
+ target_free_all_working_areas(target);
+
+ /* Set up breakpoints */
{
/* check if one matches PC and step over it if necessary */
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development