cortexm: use Cortex-M rather than cortex-m3 for dwt registers
Change-Id: I28e3a8c65ccc4a4e3ec94e41c846e6a263c165e8 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1865 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
parent
94d64ccaeb
commit
c46dd490d1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue