|
From: openocd-gerrit <ope...@us...> - 2023-01-15 14:48:25
|
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 0708ccead4fbce07e3d78bb7380aca0aae8cb14d (commit)
from 0c28006cf2cf2d98ba2d73a73bf629e781f4ffb8 (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 0708ccead4fbce07e3d78bb7380aca0aae8cb14d
Author: Erhan Kurubas <erh...@es...>
Date: Thu Sep 29 00:22:00 2022 +0200
target/xtensa: remove needless target_was_examined check
In any case flag will be set as examined.
Signed-off-by: Erhan Kurubas <erh...@es...>
Change-Id: I5177ee656f726a807269e2f4725223f50e49e855
Reviewed-on: https://review.openocd.org/c/openocd/+/7231
Tested-by: jenkins
Reviewed-by: Ian Thompson <ia...@ca...>
Reviewed-by: Antonio Borneo <bor...@gm...>
diff --git a/src/target/xtensa/xtensa.c b/src/target/xtensa/xtensa.c
index c2c047edb..b57e2d660 100644
--- a/src/target/xtensa/xtensa.c
+++ b/src/target/xtensa/xtensa.c
@@ -801,8 +801,7 @@ int xtensa_examine(struct target *target)
return ERROR_TARGET_FAILURE;
}
LOG_DEBUG("OCD_ID = %08" PRIx32, xtensa->dbg_mod.device_id);
- if (!target_was_examined(target))
- target_set_examined(target);
+ target_set_examined(target);
xtensa_smpbreak_write(xtensa, xtensa->smp_break);
return ERROR_OK;
}
-----------------------------------------------------------------------
Summary of changes:
src/target/xtensa/xtensa.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
hooks/post-receive
--
Main OpenOCD repository
|