aarch64: don't try resuming if target is not halted
commit7c2dc138b32291e12e68ecd0391053d66efd53aa
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 21 Oct 2016 15:00:54 +0000 (21 17:00 +0200)
committerMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 10 Feb 2017 13:18:35 +0000 (10 14:18 +0100)
tree22cbf07a3b9044e856f0c28c7ba9a304f53531d6
parentbeece50670e86c36d0de987c581db5250604695c
aarch64: don't try resuming if target is not halted

At framework level, the resume hook is not protected. Make sure to
not attempt a resume if the target is not halted.

Change-Id: I4dd1975a95d6c513bd4f4e999e496bc11182a97a
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
src/target/aarch64.c