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

-- gerrit

commit f721e1dac761934d6724e2964ff137b0c54a7083
Author: Alamy Liu <[email protected]>
Date:   Wed Oct 7 10:22:08 2015 -0700

    arm_dpm: Remove 'dscr' from arm_dpm structure
    
    arm_dpm.dscr is not used. Each platform has its own dscr value in
    its structure. i.e. cortex_a_common.cpudbg_dscr, aarch64_common.cpudbg_edscr
    
    Change-Id: I2ab9784c5d1c51c74957b39b79674f31d1831673
    Signed-off-by: Alamy Liu <[email protected]>

diff --git a/src/target/arm_dpm.c b/src/target/arm_dpm.c
index 764ddbc..0cb69ee 100644
--- a/src/target/arm_dpm.c
+++ b/src/target/arm_dpm.c
@@ -1110,8 +1110,6 @@ void arm_dpm_report_dscr(struct arm_dpm *dpm, uint32_t 
dscr)
 {
        struct target *target = dpm->arm->target;
 
-       dpm->dscr = dscr;
-
        /* Examine debug reason */
        switch (DSCR_ENTRY(dscr)) {
                case 6: /* Data abort (v6 only) */
diff --git a/src/target/arm_dpm.h b/src/target/arm_dpm.h
index 2f0ae05..bce9633 100644
--- a/src/target/arm_dpm.h
+++ b/src/target/arm_dpm.h
@@ -136,9 +136,6 @@ struct arm_dpm {
        /** Address of the instruction which triggered a watchpoint. */
        uint32_t wp_pc;
 
-       /** Recent value of DSCR. */
-       uint32_t dscr;
-
        /* FIXME -- read/write DCSR methods and symbols */
 };
 

-- 

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