]> git.sur5r.net Git - openocd/commit
target/target: call event handlers around examine when polling resumes
authorPaul Fertser <fercerpav@gmail.com>
Mon, 9 Feb 2015 13:43:58 +0000 (16:43 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Mon, 9 Mar 2015 06:41:58 +0000 (06:41 +0000)
commitebe9b7a6611210d185be88697457819f01df43ab
tree5318e9b8dfa45e95c4a8fe93d87beccd4b1cb826
parent889b246d939bf8572094cf4bfe56f58f44e8ff62
target/target: call event handlers around examine when polling resumes

The target might be using Tcl examine-start and examine-end handlers,
they need to be called when the target gets reexamined after polling
succeeds again.

Change-Id: I371380c6f3c427ec7a0206d73426f6589f18a9bd
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2536
Tested-by: jenkins
Reviewed-by: Stian Skjelstad <stian@nixia.no>
src/target/target.c