aarch64: clear CTI halt event early at debug entry
commit332d66c75a89516750726f1a9d2b65a624037770
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Wed, 1 Mar 2017 15:15:33 +0000 (1 16:15 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Sun, 2 Apr 2017 15:08:18 +0000 (2 16:08 +0100)
treec494756d3ac3e623bab00f83e42cb4cc39af9660
parent2804480b097ebf64810100a1c744188ee01ce3c0
aarch64: clear CTI halt event early at debug entry

The halt event was left pending in the CTI, better to clear it immediately
after debug entry.

Change-Id: I6002f862681baf98769e3c73332a7f7f0ef938c1
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/4030
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/target/aarch64.c