[Openocd-development] [PATCH] Identify state of a running CM3 target on startup

2009-07-09 Thread Magnus Lundin
Thc cortex_m3_poll function does not identify that a target is running unless we transition from RESET. This patch correctly identifies a running target. Regards Magnus Index: src/target/cortex_m3.c === --- src/target/cortex_m3.c

Re: [Openocd-development] [PATCH] Identify state of a running CM3 target on startup

2009-07-09 Thread David Brownell
On Thursday 09 July 2009, Magnus Lundin wrote: Thc cortex_m3_poll function does not identify that a target is running unless we transition from RESET. This patch correctly identifies a running target. ACK. This would be a nice annoyance to fix for 0.2 ... it's extremely visible! :)

Re: [Openocd-development] [PATCH] Identify state of a running CM3 target on startup

2009-07-09 Thread Zach Welch
On Thu, 2009-07-09 at 16:54 +0200, Magnus Lundin wrote: Thc cortex_m3_poll function does not identify that a target is running unless we transition from RESET. This patch correctly identifies a running target. Is there a reason to keep the #if 0 block? If not, please remove that code