From c46dd490d1a26fee57ff1f32781175ad64b72e86 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Mon, 13 Jan 2014 09:53:32 +0000 Subject: [PATCH] cortexm: use Cortex-M rather than cortex-m3 for dwt registers Change-Id: I28e3a8c65ccc4a4e3ec94e41c846e6a263c165e8 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/1865 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- src/target/cortex_m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c index d95c25ee..dc8d3444 100644 --- a/src/target/cortex_m.c +++ b/src/target/cortex_m.c @@ -1728,7 +1728,7 @@ fail1: free(cm->dwt_comparator_list); goto fail0; } - cache->name = "cortex-m3 dwt registers"; + cache->name = "Cortex-M DWT registers"; cache->num_regs = 2 + cm->dwt_num_comp * 3; cache->reg_list = calloc(cache->num_regs, sizeof *cache->reg_list); if (!cache->reg_list) { -- 2.39.5