)]}'
{"id":"openocd~master~I9464fb40ccede3e7760d425873adca363b49a64f","project":"openocd","branch":"master","attention_set":{},"removed_from_attention_set":{"1000021":{"account":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"last_update":"2022-05-14 08:58:36.000000000","reason":"Change was submitted"},"1000687":{"account":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"last_update":"2022-05-01 14:50:43.000000000","reason":"removed on reply"}},"hashtags":[],"change_id":"I9464fb40ccede3e7760d425873adca363b49a64f","subject":"openocd: add post-init and pre-shutdown helpers","status":"MERGED","created":"2022-02-18 16:57:30.000000000","updated":"2024-07-03 12:38:19.000000000","submitted":"2022-05-14 08:58:36.000000000","submitter":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"total_comment_count":4,"unresolved_comment_count":2,"has_review_started":true,"submission_id":"6851","meta_rev_id":"8e56d708d37395c9d1f73daaa035f1e1ebd5c51f","_number":6851,"owner":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2022-05-14 08:58:36.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"value":0,"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"approved":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"all":[{"tag":"autogenerated:gerrit:merged","value":1,"date":"2022-05-14 08:58:36.000000000","permitted_voting_range":{"min":1,"max":2},"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"tag":"autogenerated:gerrit:merged","value":2,"date":"2022-05-14 08:58:36.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},{"value":0,"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"value":1,"date":"2024-07-03 12:38:19.000000000","post_submit":true,"permitted_voting_range":{"min":1,"max":1},"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"}],"values":{"-2":"This shall not be merged","-1":"I would prefer this is not merged as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2022-02-18 17:00:29.000000000","updated_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2022-04-30 19:26:13.000000000","updated_by":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"reviewer":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"state":"REVIEWER"},{"updated":"2024-07-03 12:38:19.000000000","updated_by":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"reviewer":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"state":"REVIEWER"}],"messages":[{"id":"467ce100cf09a08939b2fa535cd2e5ce8e1f3029","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2022-02-18 16:57:30.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"f23c1d1302fbb911a29d88666e707f1dcf8e960a","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2022-02-18 17:00:29.000000000","message":"Patch Set 1: Verified-1\n\nBuild Failed \n\nhttps://build.openocd.org/job/openocd-gerrit/15868/ : FAILURE\n\nhttps://build.openocd.org/job/openocd-gerrit-build/15080/ : FAILURE","accounts_in_message":[],"_revision_number":1},{"id":"6969febe7e0eb0333a5c525cdd0a0d6edac62452","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2022-02-18 17:13:30.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"d82a8b00c9602f5e1775a1bfced278ef0b862c78","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2022-02-18 17:34:54.000000000","message":"Patch Set 2: Verified+1\n\nBuild Successful \n\nhttps://build.openocd.org/job/openocd-gerrit/15869/ : SUCCESS\n\nhttps://build.openocd.org/job/openocd-gerrit-build/15081/ : SUCCESS","accounts_in_message":[],"_revision_number":2},{"id":"871ae7d7633ad7e5b68d4c3668cdbc8dd75f298b","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2022-02-18 18:16:38.000000000","message":"Patch Set 2: Code-Review+1","accounts_in_message":[],"_revision_number":2},{"id":"a15a9f213e816089517d82c03260a1e8aa39b944","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2022-04-30 19:24:36.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"28e59f7e88ab736b400bcc694e370cd5a6e2167c","author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"real_author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"date":"2022-05-01 05:50:37.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"c36e9040e7af3332591c396b8bbf7b89a9ad0cd8","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2022-05-01 08:18:35.000000000","message":"Patch Set 2: Code-Review-1\n\n(3 comments)","accounts_in_message":[],"_revision_number":2},{"id":"857ab867a89b71a459f917564cb937cf786cc1c8","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2022-05-01 08:44:28.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"6896aecd575535c0ee507a8c57892b23e5e05354","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2022-05-01 08:47:03.000000000","message":"Patch Set 3: Code-Review+1","accounts_in_message":[],"_revision_number":3},{"id":"7269deb5741cfa5ae9fcfe7df17e7fed0e90d634","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2022-05-01 09:04:22.000000000","message":"Patch Set 3: Verified+1\n\nBuild Successful \n\nhttps://build.openocd.org/job/openocd-gerrit/16087/ : SUCCESS\n\nhttps://build.openocd.org/job/openocd-gerrit-build/15297/ : SUCCESS","accounts_in_message":[],"_revision_number":3},{"id":"b818ffd0c9ac11519161ac7556face92f910766e","author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"real_author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"date":"2022-05-01 14:50:43.000000000","message":"Patch Set 3: Code-Review+2","accounts_in_message":[],"_revision_number":3},{"id":"1c2acbb1a29aa19953915d2a483e49a0b7046bb9","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2022-05-14 08:58:36.000000000","message":"Change has been successfully cherry-picked as cc75aa37c5ba6267956a3613069b7d35420b76fc","accounts_in_message":[],"_revision_number":4},{"id":"8e56d708d37395c9d1f73daaa035f1e1ebd5c51f","author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"real_author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"date":"2024-07-03 12:38:19.000000000","message":"Patch Set 4: Code-Review+1","accounts_in_message":[],"_revision_number":4}],"current_revision":"cc75aa37c5ba6267956a3613069b7d35420b76fc","revisions":{"899d615d9709f8ab4ae6e2c91f7abe047baede0d":{"kind":"REWORK","_number":3,"created":"2022-05-01 08:44:28.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/51/6851/3","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/51/6851/3","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/3 \u0026\u0026 git checkout -b change-6851 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/51/6851/3","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"66335683fec62ac89da48d64932fd9d082314225","subject":"drivers/cmsis-dap: Correct the DAP protocol parameter parsing error"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2022-02-18 16:25:58.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2022-05-01 08:35:46.000000000","tz":120},"subject":"openocd: add post-init and pre-shutdown helpers","message":"openocd: add post-init and pre-shutdown helpers\n\nIt is a common requirement to automatically execute some command\nafter \"init\".\nThis can be achieved, either in scripts or through OpenOCD command\nline, by explicitly calling \"init\" followed by the commands.\nBut this approach fails if the request for post-init commands is\nspread across configuration files; only one of the files can split\npre-init and post-init status by calling \"init\".\nThe common workaround is to \"rename\" the command \"init\" and\nreplace it with a TCL proc that calls the original \"init\" and the\npost-init commands. E.g. in Zephyr script [1].\n\nTo simplify and formalize the post-init execution, use a TCL list\nthat contains the list of commands to be executed. Every script\ncan contribute adding new commands, e.g. using \"lappend\".\n\nIn the same way, formalize the pre-shutdown execution with a TCL\nlist of user commands to be executed before OpenOCD exit.\n\nDocument them and add trivial examples.\n\nDrop from documentation the suggestion to rename \"shutdown\".\n\nChange-Id: I9464fb40ccede3e7760d425873adca363b49a64f\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\nLink: [1] https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v2.7.1/boards/arm/nucleo_h743zi/support/openocd.cfg#L15\n"}},"61823c966e94a9cfa7a356148a75e6f5876d9b82":{"kind":"REWORK","_number":2,"created":"2022-02-18 17:13:30.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/51/6851/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/51/6851/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/2 \u0026\u0026 git checkout -b change-6851 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/51/6851/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"254883597f2487f6e75e10c36991149679e21870","subject":"rtos: threadx: Add hla_target support for ThreadX"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2022-02-18 16:25:58.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2022-02-18 17:13:19.000000000","tz":60},"subject":"openocd: add post-init and pre-shutdown helpers","message":"openocd: add post-init and pre-shutdown helpers\n\nIt is a common requirement to automatically execute some command\nafter \"init\".\nThis can be achieved, either in scripts or through OpenOCD command\nline, by explicitly calling \"init\" followed by the commands.\nBut this approach fails if the request for post-init commands is\nspread across configuration files; only one of the files can split\npre-init and post-init status by calling \"init\".\nThe common workaround is to \"rename\" the command \"init\" and\nreplace it with a TCL proc that calls the original \"init\" and the\npost-init commands. E.g. in Zephyr script [1].\n\nTo simplify and formalize the post-init execution, use a TCL list\nthat contains the list of commands to be executed. Every script\ncan contribute adding new commands, e.g. using \"lappend\".\n\nIn the same way, formalize the pre-shutdown execution with a TCL\nlist of user commands to be executed before OpenOCD exit.\n\nDocument them and add trivial examples.\n\nDrop from documentation the suggestion to rename \"shutdown\".\n\nChange-Id: I9464fb40ccede3e7760d425873adca363b49a64f\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\nLink: [1] https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v2.7.1/boards/arm/nucleo_h743zi/support/openocd.cfg#L15\n"}},"f9177a65b3bed946efc4d486a850b63421cecf57":{"kind":"REWORK","_number":1,"created":"2022-02-18 16:57:30.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/51/6851/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/51/6851/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/1 \u0026\u0026 git checkout -b change-6851 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/51/6851/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"254883597f2487f6e75e10c36991149679e21870","subject":"rtos: threadx: Add hla_target support for ThreadX"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2022-02-18 16:25:58.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2022-02-18 16:55:00.000000000","tz":60},"subject":"openocd: add post-init and pre-shutdown helpers","message":"openocd: add post-init and pre-shutdown helpers\n\nIt is a common requirement to automatically execute some command\nafter \"init\".\nThis can be achieved, either in scripts or through OpenOCD command\nline, by explicitly calling \"init\" followed by the commands.\nBut this approach fails if the request for post-init commands is\nspread across configuration files; only one of the files can split\npre-init and post-init status by calling \"init\".\nThe common workaround is to \"rename\" the command \"init\" and\nreplace it with a TCL proc that calls the original \"init\" and the\npost-init commands. E.g. in Zephyr script [1].\n\nTo simplify and formalize the post-init execution, use a TCL list\nthat contains the list of commands to be executed. Every script\ncan contribute adding new commands, e.g. using \"lappend\".\n\nIn the same way, formalize the pre-shutdown execution with a TCL\nlist of user commands to be executed before OpenOCD exit.\n\nDocument them and add trivial examples.\n\nDrop from documentation the suggestion to rename \"shutdown\".\n\nChange-Id: I9464fb40ccede3e7760d425873adca363b49a64f\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\nLink: [1] https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v2.7.1/boards/arm/nucleo_h743zi/support/openocd.cfg#L15\n"}},"cc75aa37c5ba6267956a3613069b7d35420b76fc":{"kind":"REWORK","_number":4,"created":"2022-05-14 08:58:36.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/51/6851/4","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/51/6851/4","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/4 \u0026\u0026 git checkout -b change-6851 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/51/6851/4","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/51/6851/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"99293ebd15bd2980fa4cb9e161f0069092741a55","subject":"aarch64: don\u0027t wait for smp targets halted in deassert reset"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2022-02-18 16:25:58.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2022-05-14 08:58:36.000000000","tz":0},"subject":"openocd: add post-init and pre-shutdown helpers","message":"openocd: add post-init and pre-shutdown helpers\n\nIt is a common requirement to automatically execute some command\nafter \"init\".\nThis can be achieved, either in scripts or through OpenOCD command\nline, by explicitly calling \"init\" followed by the commands.\nBut this approach fails if the request for post-init commands is\nspread across configuration files; only one of the files can split\npre-init and post-init status by calling \"init\".\nThe common workaround is to \"rename\" the command \"init\" and\nreplace it with a TCL proc that calls the original \"init\" and the\npost-init commands. E.g. in Zephyr script [1].\n\nTo simplify and formalize the post-init execution, use a TCL list\nthat contains the list of commands to be executed. Every script\ncan contribute adding new commands, e.g. using \"lappend\".\n\nIn the same way, formalize the pre-shutdown execution with a TCL\nlist of user commands to be executed before OpenOCD exit.\n\nDocument them and add trivial examples.\n\nDrop from documentation the suggestion to rename \"shutdown\".\n\nChange-Id: I9464fb40ccede3e7760d425873adca363b49a64f\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\nLink: [1] https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v2.7.1/boards/arm/nucleo_h743zi/support/openocd.cfg#L15\nReviewed-on: https://review.openocd.org/c/openocd/+/6851\nReviewed-by: Tomas Vanek \u003cvanekt@fbl.cz\u003e\nTested-by: jenkins\n"}}},"requirements":[],"submit_records":[{"status":"CLOSED","labels":[{"label":"Verified","status":"OK","applied_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"OK","applied_by":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"}}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dCustom-Rule"],"failing_atoms":[]}},{"name":"Code-Review","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dCustom-Rule"],"failing_atoms":[]}}]}
