This is an automated email from Gerrit.

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

-- gerrit

commit d0e5adb7924f348fb6158bed51a8c2c7982a9e63
Author: Alamy Liu <[email protected]>
Date:   Thu Aug 27 14:17:05 2015 -0700

    aarch64: resume addr in ARM_STATE_ARM is 32-bit
    
    Change-Id: If03b0a8093d2d6704d8111eed39ce96bfcfa200a
    Signed-off-by: Alamy Liu <[email protected]>

diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index 2f807cd..eef3168 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -895,6 +895,8 @@ static int aarch64_internal_restore(struct target *target, 
int current,
         */
        switch (arm->core_state) {
                case ARM_STATE_ARM:
+                       resume_pc &= 0xFFFFFFFC;
+                       break;
                case ARM_STATE_AARCH64:
                        resume_pc &= 0xFFFFFFFFFFFFFFFC;
                        break;

-- 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to