target/armv7m, cortex_m: fix misleading comments
[fw/openocd] / src / target / armv7m.c
index 13370b54b954600b56afbc214921fc1f003f98a3..f14ce0d880ae83c490ea9d705c24ee0fdcd42961 100644 (file)
@@ -493,8 +493,7 @@ int armv7m_start_algorithm(struct target *target,
                return ERROR_TARGET_NOT_HALTED;
        }
 
-       /* refresh core register cache
-        * Not needed if core register cache is always consistent with target process state */
+       /* Store all non-debug execution registers to armv7m_algorithm_info context */
        for (unsigned i = 0; i < armv7m->arm.core_cache->num_regs; i++) {
 
                armv7m_algorithm_info->context[i] = buf_get_u32(