This is an automated email from Gerrit.

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

-- gerrit

commit 70d4c169e81f71588ba73a78a34f4439e6a35f45
Author: Chengyu Zheng <[email protected]>
Date:   Sun Apr 9 18:39:47 2017 +0200

    target/cortex_a.c remove unused paramer
    
    The address parameter is not used in resume if current is set to 1.
    So avoid passing address.
    
    Change-Id: I4c1bb73b8b5fc63069abf0738bb51e8eaa402c21
    Signed-off-by: Chengyu Zheng <[email protected]>

diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index 5d90e34..bb40862 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -1396,7 +1396,7 @@ static int cortex_a_step(struct target *target, int 
current, target_addr_t addre
 
        target->debug_reason = DBG_REASON_SINGLESTEP;
 
-       retval = cortex_a_resume(target, 1, address, 0, 0);
+       retval = cortex_a_resume(target, 1, 0, 0, 0);
        if (retval != ERROR_OK)
                return retval;
 

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to