Re: [Openocd-development] improved handling of target vs. gdb state

2010-01-21 Thread Øyvind Harboe
Take #3, I attached the wrong patch... -- Øyvind Harboe 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 From 902ac536d32073a0eb057b3a4342bdecba5ef847 Mon Sep 17 00:00:00 2001 From: =?utf-

[Openocd-development] improved handling of target vs. gdb state

2010-01-21 Thread Øyvind Harboe
Take #2 of this patch, now tested as per below. I'll be committing this unless there are any major protests. The target & gdb can be out of sync. The attached patch improves the case where the target is in the running state already when a stepi/continue packet is executed. 1. Case: target is run