This is an automated email from Gerrit.

Sergey A. Borshch ([email protected]) just uploaded a new patch set 
to Gerrit, which you can find at http://openocd.zylin.com/1677

-- gerrit

commit 435ab01aedc8e258d125057da2318499b31c65a7
Author: Sergey A. Borshch <[email protected]>
Date:   Thu Oct 3 19:26:33 2013 +0300

    ARM7_9: fix endless recursion
    
     Writing target memory with dcc disabled result in endless recursion.
    
    Signed-off-by: Sergey A. Borshch <[email protected]>
    Change-Id: Ief397f95f8a5915934dcee93acc288c8bd4c8f70

diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c
index 6eade96..9c50750 100644
--- a/src/target/arm7_9_common.c
+++ b/src/target/arm7_9_common.c
@@ -2562,7 +2562,7 @@ int arm7_9_bulk_write_memory(struct target *target,
        int i;
 
        if (!arm7_9->dcc_downloads)
-               return target_write_memory(target, address, 4, count, buffer);
+               return arm7_9_write_memory(target, address, 4, count, buffer);
 
        /* regrab previously allocated working_area, or allocate a new one */
        if (!arm7_9->dcc_working_area) {

-- 

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to