armv8_dpm: fix exception handling
commit9981093ce076a388700b2f307a9dc79e14a6e0f1
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 17 Feb 2017 15:22:52 +0000 (17 16:22 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Fri, 24 Feb 2017 09:50:14 +0000 (24 09:50 +0000)
tree893f1c9c54ab1bbbfa76341e8fa183095d56a5cd
parentb73628141a932881953bb816ec7bfa47d9e40680
armv8_dpm: fix exception handling

after handling of an exception in debug state, immediately
restore the original core state.

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