hla_target: fix adapter_poll() to preserve TARGET_DEBUG_RUNNING state 20/4820/2
authorTomas Vanek <vanekt@fbl.cz>
Tue, 25 Dec 2018 20:38:23 +0000 (21:38 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Sun, 27 Jan 2019 20:58:03 +0000 (20:58 +0000)
commitd9cb5593cd4855fba7ab76a7db2f2db6e7978f67
tree2f37a3bd768d31b1d4be1d572dc276cbabe19aa6
parentfc348bc08648f492c6e5d63d47c0f7a1e6e0b3b2
hla_target: fix adapter_poll() to preserve TARGET_DEBUG_RUNNING state

Without this change TARGET_DEBUG_RUNNING changes to TARGET_RUNNING
after adapter_poll()

Change-Id: I1c965a43527b50fa723d78fb6eae56585a7ede03
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4820
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/hla_target.c