This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/6788

-- gerrit

commit c2dad4deb9a532dad669813a8d6930e35fc20f6a
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sun Nov 14 22:36:46 2021 +0100

    aarch64: dump a message when CTI is missing
    
    If the CTI is not specified OpenOCD fails target's examination
    without indicating the reason.
    
    Drop an error message about the missing CTI.
    
    Change-Id: I344537fb21cf38785796ba938e71890e04135509
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index fc6bd6b30..30ef54792 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -2635,8 +2635,10 @@ static int aarch64_examine_first(struct target *target)
        LOG_DEBUG("ttypr = 0x%08" PRIx64, ttypr);
        LOG_DEBUG("debug = 0x%08" PRIx64, debug);
 
-       if (!pc->cti)
+       if (!pc->cti) {
+               LOG_TARGET_ERROR(target, "CTI not specified");
                return ERROR_FAIL;
+       }
 
        armv8->cti = pc->cti;
 

-- 

Reply via email to