target: hla correctly use target events34/1134/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 7 Feb 2013 12:12:18 +0000 (12:12 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 25 Feb 2013 11:57:46 +0000 (11:57 +0000)
commitb00b9f2d7d2805ce0d038b2149b636c0576ee9ec
treea5a10f407cd89013ecbc2793b0df2244491b3853
parent17b57f886593d92125fac6b709533efd7abfe39e
target: hla correctly use target events

Because we were always running using target state TARGET_RUNNING target
algorithm's were a bit verbose compared to other targets.

This brings the hla target inline with the other targets.

Change-Id: I3a257fdc878b87660fac8b5eca22b421eee5b349
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1134
Tested-by: jenkins
src/target/hla_target.c