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

-- gerrit

commit 6efc22daa03d601ec012ad02f258cd7b1308d1fd
Author: Alamy Liu <[email protected]>
Date:   Fri Aug 21 13:16:14 2015 -0700

    aarch64: assign target->is_aarch64 value (not perfect)
    
    Change-Id: If384e23bbb67ac290a5d13d0ecc493fcb1d3e5c1
    Signed-off-by: Alamy Liu <[email protected]>

diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index db02849..b0ff0ad 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -1130,6 +1130,9 @@ static int aarch64_debug_entry(struct target *target)
 
        retval = arm_dpm_read_current_registers_64(&armv8->dpm);
 
+       /* Alamy: Is it good to be here ? */
+       target->is_aarch64 = (armv8->arm.core_state == ARM_STATE_AARCH64);
+
        if (armv8->post_debug_entry) {
                retval = armv8->post_debug_entry(target);
                if (retval != ERROR_OK)

-- 

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