From: OpenOCD-Gerrit <ope...@us...> - 2022-01-22 10:15:38
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 1536e249f2c23399f3443f8351647ea3faa5112e (commit) from 5a8d32fcb92f179445da6d3f7b0ceeec4efbcc6f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1536e249f2c23399f3443f8351647ea3faa5112e Author: Antonio Borneo <bor...@gm...> 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 <bor...@gm...> Reviewed-on: https://review.openocd.org/c/openocd/+/6788 Tested-by: jenkins 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; ----------------------------------------------------------------------- Summary of changes: src/target/aarch64.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) hooks/post-receive -- Main OpenOCD repository |