This is an automated email from Gerrit.

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

-- gerrit

commit dc4a36e2f748f6ccb5252e1cf6890102a9e8255b
Author: Paul Fertser <[email protected]>
Date:   Thu Jan 30 14:11:13 2014 +0400

    arm926ejs: fix write memory operations with caches enabled
    
    Perform proper ICache flush operations on memory writes. This should fix
    inability to use software breakpoints for debugging with caches
    enabled.
    
    This patch is only compile-time tested.
    
    Commit 1137eaedaf6498f3448cdedf6f93076d9b3fd58a fixed the same issue
    for arm920t. Among all the arm7_9_common targets only arm926ejs seems
    to be broken in the same way.
    
    Change-Id: I575306ac4319a69fc637b42f7c958f4595c5e81f
    Signed-off-by: Paul Fertser <[email protected]>

diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c
index af80613..4e77ff2 100644
--- a/src/target/arm926ejs.c
+++ b/src/target/arm926ejs.c
@@ -691,6 +691,7 @@ int arm926ejs_init_arch_info(struct target *target, struct 
arm926ejs_common *arm
 
        arm7_9->post_debug_entry = arm926ejs_post_debug_entry;
        arm7_9->pre_restore_context = arm926ejs_pre_restore_context;
+       arm7_9->write_memory = arm926ejs_write_memory;
 
        arm926ejs->read_cp15 = arm926ejs_cp15_read;
        arm926ejs->write_cp15 = arm926ejs_cp15_write;

-- 

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to