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/1138

-- gerrit

commit c6ffe9c55ab3f9b204ad5634cd998e38aedfa5a0
Author: Spencer Oliver <[email protected]>
Date:   Thu Feb 14 16:35:40 2013 +0000

    armv7m: update to use correct register core_cache
    
    The was missed when the armv7m was moved over to using the std arm
    core_cache, probably because it is disabled by default.
    
    Change-Id: I2f5a18ef6dd783b36e8c29f4c52379104bda4583
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/target/armv7m.c b/src/target/armv7m.c
index 0f44723..a3c81dc 100644
--- a/src/target/armv7m.c
+++ b/src/target/armv7m.c
@@ -289,7 +289,7 @@ int armv7m_get_gdb_reg_list(struct target *target, struct 
reg **reg_list[], int
         * if it does not support this arch */
        *((char *)armv7m->arm.pc->value) |= 1;
 #else
-       (*reg_list)[25] = &armv7m->core_cache->reg_list[ARMV7M_xPSR];
+       (*reg_list)[25] = &armv7m->arm.core_cache->reg_list[ARMV7M_xPSR];
 #endif
 
        return ERROR_OK;

-- 

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to