I worked on this a while back and the rule that I required OpenOCD to follow was that it should *always* be possible to write startup sequence that could debug the board, regardless of whether the previous debug session crashed (OpenOCD or GDB), state of target, etc.
So any dangling breakpoints must be removed regardless of target state(actual or what OpenOCD believes). The .gdbinit sequence could e.g. reset or even power up an unresponsive target. -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development