This is an automated email from Gerrit.

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

-- gerrit

commit dc3c35ead3ee6b74a757529ae8c3994a39eba3a6
Author: Tarek BOCHKATI <[email protected]>
Date:   Mon Dec 9 12:35:01 2019 +0100

    target/aarch64: fix minor stepping issue with gdb
    
    when using step command from gdb the step happens without any issue,
    but aarch64_step call explicitly aarch64_poll which consumes the
    status change to HALTED, so it does not inform gdb that the step has
    finished.
    
    by removing this call, all is back to normal and openocd could inform gdb
    that the step has finished.
    
    Change-Id: I9366aecd20f7d52259b050b8653189b67d9299d0
    Signed-off-by: Tarek BOCHKATI <[email protected]>

diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index 7acb472..4d3d981 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -1176,7 +1176,7 @@ static int aarch64_step(struct target *target, int 
current, target_addr_t addres
        if (saved_retval != ERROR_OK)
                return saved_retval;
 
-       return aarch64_poll(target);
+       return ERROR_OK;
 }
 
 static int aarch64_restore_context(struct target *target, bool bpwp)

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to