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

-- gerrit

commit 462d5939e3adbbfef6a868d665364431385558cf
Author: Alamy Liu <[email protected]>
Date:   Thu Aug 27 14:18:04 2015 -0700

    aarch64: aarch64_read_apb_ab_memory(): R0 -> X0, X1
    
    Change-Id: If3c8488213a924926ece704afd7ec0fe69485554
    Signed-off-by: Alamy Liu <[email protected]>

diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index eef3168..759e683 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -1857,11 +1857,14 @@ static int aarch64_read_apb_ab_memory(struct target 
*target,
                return ERROR_TARGET_NOT_HALTED;
        }
 
-       /* Mark register R0 as dirty, as it will be used
+       /* Mark register X0, X1 as dirty, as it will be used
         * for transferring the data.
         * It will be restored automatically when exiting
         * debug mode
         */
+       reg = armv8_reg_current(arm, 1);
+       reg->dirty = true;
+
        reg = armv8_reg_current(arm, 0);
        reg->dirty = true;
 

-- 

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