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/3266
-- gerrit commit c041c3246ec8576cb24313e0e9289f118f144c48 Author: Alamy Liu <[email protected]> Date: Thu Aug 27 14:12:18 2015 -0700 aarch64: dpm->arm_reg_current after arm_dpm_setup() Change-Id: I7cf41fcfc0b1ed53035c8a8cf3391a1c25960eb3 Signed-off-by: Alamy Liu <[email protected]> diff --git a/src/target/aarch64.c b/src/target/aarch64.c index dc06b97..7cc192c 100644 --- a/src/target/aarch64.c +++ b/src/target/aarch64.c @@ -653,14 +653,16 @@ static int aarch64_dpm_setup(struct aarch64_common *a8, uint32_t debug) dpm->instr_read_data_r0 = aarch64_instr_read_data_r0; dpm->instr_read_data_r0_64 = aarch64_instr_read_data_r0_64; - dpm->arm_reg_current = armv8_reg_current; - dpm->bpwp_enable = aarch64_bpwp_enable; dpm->bpwp_disable = aarch64_bpwp_disable; retval = arm_dpm_setup(dpm); - if (retval == ERROR_OK) - retval = arm_dpm_initialize(dpm); + if (retval != ERROR_OK) + return retval; + + dpm->arm_reg_current = armv8_reg_current; + + retval = arm_dpm_initialize(dpm); return retval; } -- ------------------------------------------------------------------------------ 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
