)]}'
{"id":"openocd~master~Ifeca20849a9e36cc874ed98b0e55efff25023ac8","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":"2026-07-08 10:36:14.000000000","reason":"\u003cGERRIT_ACCOUNT_1000021\u003e replied on the change","reason_account":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"}}},"hashtags":[],"change_id":"Ifeca20849a9e36cc874ed98b0e55efff25023ac8","subject":"server: override stdin and stdout with server\u0027s connection","status":"NEW","created":"2026-07-06 14:23:09.000000000","updated":"2026-07-08 10:36:14.000000000","submit_type":"CHERRY_PICK","submittable":false,"total_comment_count":3,"unresolved_comment_count":1,"has_review_started":true,"meta_rev_id":"cd01c9d85154ba47ae1305ab6d3a93567b22438d","_number":9771,"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":[{"tag":"autogenerated:jenkins-gerrit-trigger","value":1,"date":"2026-07-08 10:29:16.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"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"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-07-06 14:32:02.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":"CC"},{"updated":"2026-07-06 14:56:37.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"}],"messages":[{"id":"68862a0bc55216b433f3b1dc988d78c71311def6","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":"2026-07-06 14:23:09.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"9616cbdf31f0bc2663ae87e4b05f94864fc70d08","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":"2026-07-06 14:27:11.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"46ed6d9fa7ed545d65926ebca2029ae2f601cf19","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-07-06 14:56:37.000000000","message":"Patch Set 1: Verified-1\n\nBuild Failed \n\nhttps://build.openocd.org/job/openocd-gerrit-build/22602/ : FAILURE\n\nhttps://build.openocd.org/job/openocd-gerrit/23503/ : FAILURE","accounts_in_message":[],"_revision_number":1},{"id":"9a270b6571d08b5eadbb530076cc214e357c2434","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":"2026-07-06 15:05:11.000000000","message":"Uploaded patch set 2.\n\nOutdated Votes:\n* Verified-1 (copy condition: \"changekind:NO_CHANGE\")\n","accounts_in_message":[],"_revision_number":2},{"id":"eae55925f0285ce3b1fd739b30847f4c1610403f","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-07-06 15:59:26.000000000","message":"Patch Set 2: Verified-1\n\nBuild Failed \n\nhttps://build.openocd.org/job/openocd-gerrit-build/22603/ : ABORTED\n\nhttps://build.openocd.org/job/openocd-gerrit/23504/ : SUCCESS","accounts_in_message":[],"_revision_number":2},{"id":"352df19c724620e2996d8f2052b7b6cf70b17eea","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-07-07 07:28:04.000000000","message":"Patch Set 2: -Verified","accounts_in_message":[],"_revision_number":2},{"id":"60e58a88479833d320e90435e0808ec58ac80553","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-07-07 07:45:57.000000000","message":"Patch Set 2: Verified-1\n\nBuild Failed \n\nhttps://build.openocd.org/job/openocd-gerrit-build/22604/ : FAILURE\n\nhttps://build.openocd.org/job/openocd-gerrit/23505/ : SUCCESS","accounts_in_message":[],"_revision_number":2},{"id":"9275f5b6a289e911757f3b4ad4545ee5dd993d9c","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":"2026-07-07 09:29:05.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"3ace266290ec8dda86955276443a6369b9582c93","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":"2026-07-07 15:32:02.000000000","message":"Uploaded patch set 3.\n\nOutdated Votes:\n* Verified-1 (copy condition: \"changekind:NO_CHANGE\")\n","accounts_in_message":[],"_revision_number":3},{"id":"bf6d50f1337ef411892747ca31084c16bce88057","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-07-07 16:30:36.000000000","message":"Patch Set 3: Verified-1\n\nBuild Failed \n\nhttps://build.openocd.org/job/openocd-gerrit-build/22605/ : ABORTED\n\nhttps://build.openocd.org/job/openocd-gerrit/23506/ : SUCCESS","accounts_in_message":[],"_revision_number":3},{"id":"78fdbe8b72fcedcff384eb4580841e7624adace6","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-07-08 08:36:00.000000000","message":"Patch Set 3: -Verified","accounts_in_message":[],"_revision_number":3},{"id":"3d7352a0ce370aab880cb1a065cc230b3a20d46f","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-07-08 10:29:16.000000000","message":"Patch Set 3: Verified+1\n\nBuild Successful \n\nhttps://build.openocd.org/job/openocd-gerrit-build/22612/ : SUCCESS\n\nhttps://build.openocd.org/job/openocd-gerrit/23513/ : SUCCESS","accounts_in_message":[],"_revision_number":3},{"id":"cd01c9d85154ba47ae1305ab6d3a93567b22438d","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":"2026-07-08 10:36:14.000000000","message":"Patch Set 3:\n\n(1 comment)","accounts_in_message":[],"_revision_number":3}],"current_revision":"35cd9bb97f651868e65c97eb33ad2d07718b3b7c","revisions":{"35cd9bb97f651868e65c97eb33ad2d07718b3b7c":{"kind":"REWORK","_number":3,"created":"2026-07-07 15:32:02.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/71/9771/3","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/71/9771/3","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/3 \u0026\u0026 git checkout -b change-9771 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/71/9771/3","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"833104774c8b1380af13d15093a2c830f6bb36db","subject":"checkpatch: recognize the type FILE"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-07-05 21:15:33.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-07-07 15:26:56.000000000","tz":120},"subject":"server: override stdin and stdout with server\u0027s connection","message":"server: override stdin and stdout with server\u0027s connection\n\nThe stdin and stdout of the Tcl commands are the same as OpenOCD,\nthus corresponding to the console that launched OpenOCD.\nThis is not optimal as:\n- Tcl command \u0027puts\u0027 writes \u0027stdout\u0027 in the main console only, not\n  in the telnet console that run it;\n- Tcl commands \u0027gets\u0027 and \u0027read\u0027 too read \u0027stdin\u0027 from the main\n  console.\n\nDuplicate the stdin and stdout of the main console and let JimTcl\nto use such file descriptors as stdin and stdout.\nThen, while running a Tcl command in the telnet console, override\nthe file descriptors so the Tcl command will refer to the telnet\nconsole as stdin and stdout.\n\nDue to the encoding of the telnet protocol, terminating a line\nwith the \u0027enter\u0027 key is not terminating the Tcl command \u0027puts\u0027. In\nfact the character \u0027\\n\u0027 is transmitted as \u0027\\r\\0\u0027.\nThe way to terminate \u0027puts\u0027 over telnet is by pressing CRTL-J in\nthe telnet terminal.\n\nAdd some example in the documentation for terminating an infinite\nloop by pressing a key either in the telnet or in the main console\nof OpenOCD.\n\nNo tests done on Windows.\n\nChange-Id: Ifeca20849a9e36cc874ed98b0e55efff25023ac8\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"fc9fdc742ed25bed547ef98cbe5c564d785bfbd6":{"kind":"REWORK","_number":2,"created":"2026-07-06 15:05:11.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/71/9771/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/71/9771/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/2 \u0026\u0026 git checkout -b change-9771 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/71/9771/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"833104774c8b1380af13d15093a2c830f6bb36db","subject":"checkpatch: recognize the type FILE"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-07-05 21:15:33.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-07-06 15:04:59.000000000","tz":120},"subject":"server: override stdin and stdout with server\u0027s connection","message":"server: override stdin and stdout with server\u0027s connection\n\nThe stdin and stdout of the Tcl commands are the same as OpenOCD,\nthus corresponding to the console that launched OpenOCD.\nThis is not optimal as:\n- Tcl command \u0027puts\u0027 writes \u0027stdout\u0027 in the main console only, not\n  in the telnet console that run it;\n- Tcl commands \u0027gets\u0027 and \u0027read\u0027 too read \u0027stdin\u0027 from the main\n  console.\n\nDuplicate the stdin and stdout of the main console and let JimTcl\nto use such file descriptors as stdin and stdout.\nThen, while running a Tcl command in the telnet console, override\nthe file descriptors so the Tcl command will refer to the telnet\nconsole as stdin and stdout.\n\nDue to the encoding of the telnet protocol, terminating a line\nwith the \u0027enter\u0027 key is not terminating the Tcl command \u0027puts\u0027. In\nfact the character \u0027\\n\u0027 is transmitted as \u0027\\r\\0\u0027.\nThe way to terminate \u0027puts\u0027 over telnet is by pressing CRTL-J in\nthe telnet terminal.\n\nAdd some example in the documentation for terminating an infinite\nloop by pressing a key either in the telnet or in the main console\nof OpenOCD.\n\nNo tests done on Windows.\n\nChange-Id: Ifeca20849a9e36cc874ed98b0e55efff25023ac8\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"e5d95700adfcb07579dc5038a08663c298d691bc":{"kind":"REWORK","_number":1,"created":"2026-07-06 14:23:09.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/71/9771/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/71/9771/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/1 \u0026\u0026 git checkout -b change-9771 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/71/9771/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/71/9771/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"833104774c8b1380af13d15093a2c830f6bb36db","subject":"checkpatch: recognize the type FILE"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-07-05 21:15:33.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-07-06 14:21:04.000000000","tz":120},"subject":"server: override stdin and stdout with server\u0027s connection","message":"server: override stdin and stdout with server\u0027s connection\n\nThe stdin and stdout of the Tcl commands are the same as OpenOCD,\nthus corresponding to the console that launched OpenOCD.\nThis is not optimal as:\n- Tcl command \u0027puts\u0027 writes \u0027stdout\u0027 in the main console only, not\n  in the telnet console that run it;\n- Tcl commands \u0027gets\u0027 and \u0027read\u0027 too read \u0027stdin\u0027 from the main\n  console.\n\nDuplicate the stdin and stdout of the main console and let JimTcl\nto use such file descriptors as stdin and stdout.\nThen, while running a Tcl command in the telnet console, override\nthe file descriptors so the Tcl command will refer to the telnet\nconsole as stdin and stdout.\n\nDue to the encoding of the telnet protocol, terminating a line\nwith the \u0027enter\u0027 key is not terminating the Tcl command \u0027puts\u0027. In\nfact the character \u0027\\n\u0027 is transmitted as \u0027\\r\\0\u0027.\nThe way to terminate \u0027puts\u0027 over telnet is by pressing CRTL-J in\nthe telnet terminal.\n\nAdd some example in the documentation for terminating an infinite\nloop by pressing a key either in the telnet or in the main console\nof OpenOCD.\n\nNo tests done on Windows.\n\nChange-Id: Ifeca20849a9e36cc874ed98b0e55efff25023ac8\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"NOT_READY","labels":[{"label":"Verified","status":"OK","applied_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"NEED"}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dMAX -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX","-label:Verified\u003dMIN"],"failing_atoms":[]}},{"name":"Code-Review","status":"UNSATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","-label:Code-Review\u003dMIN"]}}]}
