From: openocd-gerrit <ope...@us...> - 2025-04-19 09:22:02
|
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 a1ecf0a03d9812c285618ed995ea818eba020be3 (commit) from cfed1f78db635b504e4d11da537e614adfd57d3f (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 a1ecf0a03d9812c285618ed995ea818eba020be3 Author: Antonio Borneo <bor...@gm...> Date: Sun Apr 6 01:20:44 2025 +0200 target: don't free working areas during 'configure -chain-position' Since commit ef1cfb23947b ("Duane Ellis: "target as an [tcl] object" feature.") merged in 2008, the commands: $target_name configure -chain-position ... target create ... -chain-position ... cause the allocated working area to be freed. There is no reason for this, it is probably caused by an incorrect copy/paste from the author. Drop the call to target_free_all_working_areas(). Change-Id: I61a9303afe7fee6953669218330635c0b965b20d Signed-off-by: Antonio Borneo <bor...@gm...> Reviewed-on: https://review.openocd.org/c/openocd/+/8825 Reviewed-by: Tomas Vanek <va...@fb...> Tested-by: jenkins diff --git a/src/target/target.c b/src/target/target.c index 8c5c8e5e3..36ad0eec8 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -5128,7 +5128,6 @@ no_params: return JIM_ERR; } - target_free_all_working_areas(target); e = jim_getopt_obj(goi, &o_t); if (e != JIM_OK) return e; ----------------------------------------------------------------------- Summary of changes: src/target/target.c | 1 - 1 file changed, 1 deletion(-) hooks/post-receive -- Main OpenOCD repository |