This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/1429

-- gerrit

commit 17fbb9908380e09a9f70066f8982db6c7f4fc27f
Author: Spencer Oliver <[email protected]>
Date:   Thu May 30 11:33:27 2013 +0100

    cortex_m: print 'Cortex-M' rather than 'Cortex-M3'
    
    This file is used by all the Cortex-M family not just Cortex-M3.
    
    Change-Id: Ie8680535b220c66bb8fcd862510407a46a73e8a0
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c
index 9521085..d6d773c 100644
--- a/src/target/cortex_m.c
+++ b/src/target/cortex_m.c
@@ -1061,11 +1061,11 @@ static int cortex_m3_assert_reset(struct target *target)
                if (retval != ERROR_OK)
                        return retval;
 
-               LOG_DEBUG("Using Cortex-M3 %s", (reset_config == 
CORTEX_M3_RESET_SYSRESETREQ)
+               LOG_DEBUG("Using Cortex-M %s", (reset_config == 
CORTEX_M3_RESET_SYSRESETREQ)
                        ? "SYSRESETREQ" : "VECTRESET");
 
                if (reset_config == CORTEX_M3_RESET_VECTRESET) {
-                       LOG_WARNING("Only resetting the Cortex-M3 core, use a 
reset-init event "
+                       LOG_WARNING("Only resetting the Cortex-M core, use a 
reset-init event "
                                "handler to reset any peripherals or configure 
hardware srst support.");
                }
 
@@ -2051,7 +2051,7 @@ static int cortex_m3_verify_pointer(struct 
command_context *cmd_ctx,
        struct cortex_m3_common *cm3)
 {
        if (cm3->common_magic != CORTEX_M3_COMMON_MAGIC) {
-               command_print(cmd_ctx, "target is not a Cortex-M3");
+               command_print(cmd_ctx, "target is not a Cortex-M");
                return ERROR_TARGET_INVALID;
        }
        return ERROR_OK;

-- 

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to