hla: fix watchpoints not being set

Watchpoints were not being enabled when the hl adapter target was resumed.
This effects both stlink and icdi interfaces.

Change-Id: Ia9f8a9415be97a467cd099b63b6bc9f7f37d0c0d
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/931
Tested-by: jenkins
This commit is contained in:
Spencer Oliver
2012-10-25 16:37:14 +01:00
parent bd1502eb0f
commit 561984c8f6
3 changed files with 8 additions and 1 deletions

View File

@@ -677,7 +677,7 @@ static int cortex_m3_soft_reset_halt(struct target *target)
return ERROR_OK;
}
static void cortex_m3_enable_breakpoints(struct target *target)
void cortex_m3_enable_breakpoints(struct target *target)
{
struct breakpoint *breakpoint = target->breakpoints;