This is an automated email from Gerrit. Sergey A. Borshch ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1680
-- gerrit commit 7948f36de0ad4c16ccc2144c13779365dccc6da5 Author: Sergey A. Borshch <[email protected]> Date: Thu Oct 3 19:45:55 2013 +0300 hla_target: Update target state when polling Connecting to the runing target result in target->state not updated with retrieved value and remains "UNKNOWN" Change-Id: I803d6c0207f7f8699e648779d1df342c9ee7315a Signed-off-by: Sergey A. Borshch <[email protected]> diff --git a/src/target/hla_target.c b/src/target/hla_target.c index a65ba80..6b3ae1e 100644 --- a/src/target/hla_target.c +++ b/src/target/hla_target.c @@ -483,6 +483,8 @@ static int adapter_poll(struct target *target) } LOG_DEBUG("halted: PC: 0x%08x", buf_get_u32(armv7m->arm.pc->value, 0, 32)); + } else { + target->state = state; } return ERROR_OK; -- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
