hla: support setting DCB_DEMCR on resume
commit48e01a49694aa00341cfa1079c2bbc7f6ffa4686
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 2 Jan 2013 17:25:51 +0000 (2 17:25 +0000)
committerPeter Stuge <peter@stuge.se>
Wed, 2 Jan 2013 18:13:18 +0000 (2 18:13 +0000)
treea01e4793a3c850deb8433461e686d89a9ea994d7
parent6bd9e3b94f6c8b00ff171c1be241d8aa4bd83e9a
hla: support setting DCB_DEMCR on resume

This is only minimal support to enable use to catch a Hard Fault in
the stm32l flash bootloader.

Change-Id: I21d6a11893e2f1d173ebff1a651d6f52bf6eec32
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1103
Reviewed-by: Peter Stuge <peter@stuge.se>
Tested-by: jenkins
src/target/hla_target.c