)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"756a673e2c1b6b4d7df99987876a1aa007ba570c","unresolved":true,"context_lines":[{"line_number":4,"context_line":"Commit:     Parshintsev Anatoly \u003canatoly.parshintsev@syntacore.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2023-08-02 08:21:07 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"doc: port \"0\" requests any available port for usage by OpenOCD server"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I0d38533748898516dce44e81d0bff6bd35ee4aec"},{"line_number":10,"context_line":"Signed-off-by: Parshintsev Anatoly \u003canatoly.parshintsev@syntacore.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"083f725b_9f1faac4","line":7,"updated":"2023-08-02 08:57:38.000000000","message":"doc: port \"0\" requests one of the available ports for OpenOCD server","commit_id":"a82fa3a1d381be0fb7054e5a959bd85913eb95cf"},{"author":{"_account_id":1002161,"name":"Anatoly P","email":"kupokupokupopo@gmail.com","username":"ecco_the_dolphin"},"change_message_id":"e5a0e78a846d2cfcca39cc853b57ac11a30c6951","unresolved":true,"context_lines":[{"line_number":4,"context_line":"Commit:     Parshintsev Anatoly \u003canatoly.parshintsev@syntacore.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2023-08-02 08:21:07 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"doc: port \"0\" requests any available port for usage by OpenOCD server"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I0d38533748898516dce44e81d0bff6bd35ee4aec"},{"line_number":10,"context_line":"Signed-off-by: Parshintsev Anatoly \u003canatoly.parshintsev@syntacore.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5bb9b763_23e55f22","line":7,"in_reply_to":"083f725b_9f1faac4","updated":"2023-08-02 09:28:17.000000000","message":"thanks for suggestion. addressed.","commit_id":"a82fa3a1d381be0fb7054e5a959bd85913eb95cf"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"81afd25bb2dd79198997bff3673b0fd5a899ccd8","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Parshintsev Anatoly \u003canatoly.parshintsev@syntacore.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2023-08-02 08:21:07 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"doc: port \"0\" requests any available port for usage by OpenOCD server"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I0d38533748898516dce44e81d0bff6bd35ee4aec"},{"line_number":10,"context_line":"Signed-off-by: Parshintsev Anatoly \u003canatoly.parshintsev@syntacore.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"c0028057_fdb5ff0a","line":7,"in_reply_to":"5bb9b763_23e55f22","updated":"2023-08-02 10:20:17.000000000","message":"Done","commit_id":"a82fa3a1d381be0fb7054e5a959bd85913eb95cf"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":1002161,"name":"Anatoly P","email":"kupokupokupopo@gmail.com","username":"ecco_the_dolphin"},"change_message_id":"89b4bca8394f8bbd5c94d334e5057d5c09b3a06a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"10834c3f_f8a6fb75","updated":"2023-08-01 21:52:07.000000000","message":"This behavior is not immediately obvious (to me), so I decided that it would not hurt to explicitly document this.","commit_id":"e9c2e8df1a60df9499a92a9053a28a22a8de551c"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"756a673e2c1b6b4d7df99987876a1aa007ba570c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"580be3fc_fa4e4d1f","updated":"2023-08-02 08:57:38.000000000","message":"Hi, thanks for your patch.\nI agree on adding it in the documentation, as it is the current behavior of OpenOCD and must be documented.\nI\u0027m not a native English speaker, but I think the text could be more readable rephrased as in the comments below. Again, as I\u0027m not a native English speaker, feel free to disagree and complain!","commit_id":"a82fa3a1d381be0fb7054e5a959bd85913eb95cf"},{"author":{"_account_id":1002161,"name":"Anatoly P","email":"kupokupokupopo@gmail.com","username":"ecco_the_dolphin"},"change_message_id":"e5a0e78a846d2cfcca39cc853b57ac11a30c6951","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"910afda5_c72d6911","in_reply_to":"580be3fc_fa4e4d1f","updated":"2023-08-02 09:28:17.000000000","message":"\u003e I agree on adding it in the documentation, as it is the current behavior of OpenOCD and must be documented.\n\nI have a minor concern, though. My understanding is that this behavior is just aof side effect of how popular operating systems implement socket-based networking api (AFAIK Windows and Linux do allocate a port that if `sin_port` is set to zero). I\u0027m not an expert in this by I think an implementation for some other OS may behave differently. For example I\u0027ve seen some eCos-specific code in openocd codebase and I\u0027m not sure how networking API is implemented there.\n\nShould we somehow mention this in the text?  \n\n\u003e I agree on adding it in the documentation, as it is the current behavior of OpenOCD and must be documented.\n\nI\u0027ll try to adjust the text according to your suggestions. But I\u0027m not a native speaker too and my English skills are somewhat limited :(.","commit_id":"a82fa3a1d381be0fb7054e5a959bd85913eb95cf"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"81afd25bb2dd79198997bff3673b0fd5a899ccd8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"ea73d00e_18f187bf","in_reply_to":"910afda5_c72d6911","updated":"2023-08-02 10:20:17.000000000","message":"Yes, Linux, Windows and (as far as I know) *BSD use port 0 to dynamically allocate a port.\nWe currently support eCos as OS under debug. All the unmaintained code to compile OpenOCD under eCos has been dropped.\nNevertheless it is possible that some OS does not use port 0 in the same way, but I think we can go ahead with this patch and amend the text for the such special cases.","commit_id":"a82fa3a1d381be0fb7054e5a959bd85913eb95cf"}],"doc/openocd.texi":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"756a673e2c1b6b4d7df99987876a1aa007ba570c","unresolved":true,"context_lines":[{"line_number":2180,"context_line":"If you disable all access through TCP/IP, you will need to"},{"line_number":2181,"context_line":"use the command line @option{-pipe} option."},{"line_number":2182,"context_line":""},{"line_number":2183,"context_line":"You can request the operating system to select any available (free)"},{"line_number":2184,"context_line":"port for the server by specifying the relevant port number as \"0\"."},{"line_number":2185,"context_line":""},{"line_number":2186,"context_line":"@anchor{gdb_port}"}],"source_content_type":"text/x-texinfo","patch_set":4,"id":"b8d477f7_2a642ca3","line":2183,"updated":"2023-08-02 08:57:38.000000000","message":"maybe better \".. to select one of the available ...\"","commit_id":"a82fa3a1d381be0fb7054e5a959bd85913eb95cf"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"81afd25bb2dd79198997bff3673b0fd5a899ccd8","unresolved":false,"context_lines":[{"line_number":2180,"context_line":"If you disable all access through TCP/IP, you will need to"},{"line_number":2181,"context_line":"use the command line @option{-pipe} option."},{"line_number":2182,"context_line":""},{"line_number":2183,"context_line":"You can request the operating system to select any available (free)"},{"line_number":2184,"context_line":"port for the server by specifying the relevant port number as \"0\"."},{"line_number":2185,"context_line":""},{"line_number":2186,"context_line":"@anchor{gdb_port}"}],"source_content_type":"text/x-texinfo","patch_set":4,"id":"84fec450_e61855aa","line":2183,"in_reply_to":"73d083e9_8908de88","updated":"2023-08-02 10:20:17.000000000","message":"Done","commit_id":"a82fa3a1d381be0fb7054e5a959bd85913eb95cf"},{"author":{"_account_id":1002161,"name":"Anatoly P","email":"kupokupokupopo@gmail.com","username":"ecco_the_dolphin"},"change_message_id":"e5a0e78a846d2cfcca39cc853b57ac11a30c6951","unresolved":true,"context_lines":[{"line_number":2180,"context_line":"If you disable all access through TCP/IP, you will need to"},{"line_number":2181,"context_line":"use the command line @option{-pipe} option."},{"line_number":2182,"context_line":""},{"line_number":2183,"context_line":"You can request the operating system to select any available (free)"},{"line_number":2184,"context_line":"port for the server by specifying the relevant port number as \"0\"."},{"line_number":2185,"context_line":""},{"line_number":2186,"context_line":"@anchor{gdb_port}"}],"source_content_type":"text/x-texinfo","patch_set":4,"id":"73d083e9_8908de88","line":2183,"in_reply_to":"b8d477f7_2a642ca3","updated":"2023-08-02 09:28:17.000000000","message":"thanks for suggestion. addressed.","commit_id":"a82fa3a1d381be0fb7054e5a959bd85913eb95cf"}]}
