This is an automated email from Gerrit.

Daniel Goehring (dgoeh...@os.amperecomputing.com) just uploaded a new patch set 
to Gerrit, which you can find at http://openocd.zylin.com/5571

-- gerrit

commit 56453453c5f3358d95610f2f3f767183ba493e42
Author: Kevin Burke <kev...@os.amperecomputing.com>
Date:   Mon Nov 4 20:11:06 2019 +0000

    target/armv8: Add ARM target name on halt status
    
    The CPU target name is added to the HALT status message so the user
    can see which target halted at the designated program counter.
    
    Tested on an Ampere eMAG8180 and Quicksilver silicon
    
    Change-Id: I51e6f21296c85a822df28c5b7c4068e8ff66f29e
    Signed-off-by: Kevin Burke <kev...@os.amperecomputing.com>
    Signed-off-by: Daniel Goehring <dgoeh...@os.amperecomputing.com>

diff --git a/src/target/armv8.c b/src/target/armv8.c
index 88b9320..61f11f2 100644
--- a/src/target/armv8.c
+++ b/src/target/armv8.c
@@ -1131,8 +1131,9 @@ int armv8_aarch64_state(struct target *target)
                return ERROR_FAIL;
        }
 
-       LOG_USER("target halted in %s state due to %s, current mode: %s\n"
+       LOG_USER("%s halted in %s state due to %s, current mode: %s\n"
                "cpsr: 0x%8.8" PRIx32 " pc: 0x%" PRIx64 "%s",
+               target_name(target),
                armv8_state_strings[arm->core_state],
                debug_reason_name(target),
                armv8_mode_name(arm->core_mode),

-- 


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to