This is an automated email from Gerrit.

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

-- gerrit

commit c688da0f7f64929da1209a5e9015d5242503050c
Author: Marian Cingel <[email protected]>
Date:   Tue Dec 27 19:20:28 2016 +0100

    rtos: MQX, fix LR offset on stack
    
    Change-Id: I6c8e29843302caa0e9ac2a3d7a44da90c535edbd
    Signed-off-by: Marian Cingel <[email protected]>

diff --git a/src/rtos/rtos_mqx_stackings.c b/src/rtos/rtos_mqx_stackings.c
index 5db2f8e..a486d66 100644
--- a/src/rtos/rtos_mqx_stackings.c
+++ b/src/rtos/rtos_mqx_stackings.c
@@ -65,7 +65,7 @@ static const struct stack_register_offset 
rtos_mqx_arm_v7m_stack_offsets[ARMV7M_
        { 0x24, 32 }, /* r11  */
        { 0x3C, 32 }, /* r12  */
        {  -2 , 32 }, /* sp   */
-       { 0x28, 32 }, /* lr   */
+       { 0x40, 32 }, /* lr   */
        { 0x44, 32 }, /* pc   */
        { 0x48, 32 }, /* xPSR */
 };

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to