This is an automated email from Gerrit.

Mathias Küster (kes...@freenet.de) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/519

-- gerrit

commit 1883cecc075ead859507b2cfb6bdb5c1d024140c
Author: Mathias K <kes...@freenet.de>
Date:   Tue Mar 13 21:40:21 2012 +0100

    armv7m: Add a dummy register to the end of the register list.
    
    Signed-off-by: Mathias K <kes...@freenet.de>
    Change-Id: I0bfad091bd8adabd949fc0a74ef3a08a514eb307

diff --git a/src/target/armv7m.h b/src/target/armv7m.h
index cee2b60..35bd62a 100644
--- a/src/target/armv7m.h
+++ b/src/target/armv7m.h
@@ -93,6 +93,8 @@ enum {
        ARMV7M_BASEPRI,
        ARMV7M_FAULTMASK,
        ARMV7M_CONTROL,
+
+       ARMV7M_LAST_REG,
 };
 
 #define ARMV7M_COMMON_MAGIC 0x2A452A45
@@ -140,7 +142,7 @@ struct armv7m_algorithm {
 
        enum armv7m_mode core_mode;
 
-       uint32_t context[ARMV7M_CONTROL + 1]; /* ARMV7M_NUM_REGS */
+       uint32_t context[ARMV7M_LAST_REG]; /* ARMV7M_NUM_REGS */
 };
 
 struct armv7m_core_reg {

-- 

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to