)]}'
{"id":"openocd~master~I0613e57ae5059b3279b0abcb71276cf5719a8699","project":"openocd","branch":"master","hashtags":[],"change_id":"I0613e57ae5059b3279b0abcb71276cf5719a8699","subject":"gdb_server: Log both incoming and outgoing GDB packets","status":"MERGED","created":"2021-05-21 06:13:59.000000000","updated":"2021-06-04 16:43:26.000000000","submitted":"2021-06-04 16:43:26.000000000","submitter":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"6269-1622825006373-d1bb00e6","meta_rev_id":"a88e7df5f7e91f20d900eb70040dfafa1db75363","_number":6269,"owner":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"date":"2021-06-04 16:43:26.000000000","_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},{"value":0,"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},{"value":0,"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"value":1,"date":"2021-06-04 16:43:26.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":{"approved":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"all":[{"value":0,"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},{"value":0,"date":"2021-06-04 16:43:26.000000000","permitted_voting_range":{"min":0,"max":2},"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},{"value":2,"date":"2021-06-04 16:43:26.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"date":"2021-06-04 16:43:26.000000000","permitted_voting_range":{"min":0,"max":2},"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"value":0,"_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":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"_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":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-05-21 06:49:09.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":"2021-05-24 06:04:56.000000000","updated_by":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"reviewer":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"state":"REVIEWER"},{"updated":"2021-06-04 13:28:48.000000000","updated_by":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"reviewer":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"state":"REVIEWER"},{"updated":"2021-06-04 16:43:26.000000000","updated_by":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"reviewer":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"state":"REVIEWER"}],"messages":[{"id":"cb46a051638339c9be7b4b4277e2a24f7e000788","author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"real_author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"date":"2021-05-21 06:13:59.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"1d59b5bf966914c3337db07354af8eec395d113d","author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"real_author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"date":"2021-05-21 06:15:22.000000000","message":"Uploaded patch set 2: Commit message was updated.","accounts_in_message":[],"_revision_number":2},{"id":"9024f4a7e4ea432598b67e56fc33281b1d0552fc","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-05-21 06:15:23.000000000","message":"Patch Set 1: Verified-1\n\nBuild Failed \n\nhttp://build.openocd.org/job/openocd-gerrit/14591/ : ABORTED\n\nhttp://build.openocd.org/job/openocd-gerrit-build/13843/ : ABORTED","accounts_in_message":[],"_revision_number":1},{"id":"46daa26f9ba05b088ef833cb3b3608bd1796167a","author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"real_author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"date":"2021-05-21 06:17:08.000000000","message":"Uploaded patch set 3: Patch Set 2 was rebased.","accounts_in_message":[],"_revision_number":3},{"id":"757cb672fd55c284b3891d6e5237d844fd09f27d","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-05-21 06:17:08.000000000","message":"Patch Set 2: Verified-1\n\nBuild Failed \n\nhttp://build.openocd.org/job/openocd-gerrit/14592/ : ABORTED\n\nhttp://build.openocd.org/job/openocd-gerrit-build/13844/ : ABORTED","accounts_in_message":[],"_revision_number":2},{"id":"5d64183f4f41c283b00c416755372b20f5b17779","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-05-21 06:49:09.000000000","message":"Patch Set 3: Verified+1\n\nBuild Successful \n\nhttp://build.openocd.org/job/openocd-gerrit/14593/ : SUCCESS\n\nhttp://build.openocd.org/job/openocd-gerrit-build/13845/ : SUCCESS","accounts_in_message":[],"_revision_number":3},{"id":"896ea280621c006bc2f69108862122255382c42f","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":"2021-05-21 08:32:38.000000000","message":"Patch Set 3: Code-Review+1","accounts_in_message":[],"_revision_number":3},{"id":"714243af600ba4307d666b6dc328f3bc55dd9058","author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"real_author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"date":"2021-05-27 06:07:35.000000000","message":"Patch Set 3:\n\nWho would be a good candidate to review and approve this change (+2) ? Thank you.","accounts_in_message":[],"_revision_number":3},{"id":"1feaf9eca66ce63861d33cdc6eed800abd0ed8a2","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":"2021-06-04 16:43:24.000000000","message":"Patch Set 3: Code-Review+2","accounts_in_message":[],"_revision_number":3},{"id":"a88e7df5f7e91f20d900eb70040dfafa1db75363","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":"2021-06-04 16:43:26.000000000","message":"Change has been successfully cherry-picked as 49820b8afd150af8df3c02c717d86b8d2cdf7cad by Antonio Borneo","accounts_in_message":[],"_revision_number":4}],"current_revision":"49820b8afd150af8df3c02c717d86b8d2cdf7cad","revisions":{"49820b8afd150af8df3c02c717d86b8d2cdf7cad":{"kind":"REWORK","_number":4,"created":"2021-06-04 16:43:26.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/69/6269/4","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/69/6269/4","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/4 \u0026\u0026 git checkout -b change-6269 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/69/6269/4","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"a8d3f601136ccfe446041631cb46a62922f46bca","subject":"Makefile: add special target .DELETE_ON_ERROR"}],"author":{"name":"Jan Matyas","email":"matyas@codasip.com","date":"2021-05-21 06:02:29.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-06-04 16:43:26.000000000","tz":60},"subject":"gdb_server: Log both incoming and outgoing GDB packets","message":"gdb_server: Log both incoming and outgoing GDB packets\n\n- Made sure that also outgoing GDB packets are logged,\n  not only the incoming ones.\n\n- Improved the treatment of non-printable characters\n  in the packets to make it more robust.\n\nPrior to this change:\n\n- Outgoing packets were not printed unless OpenOCD was\n  re-compiled with _DEBUG_GDB_IO_.\n- Non-prinable characters were only treated in incoming\n  \u0027X\u0027 packets.\n\nAfter this change:\n\n- Both incoming and outgoing GDB packets are logged\n  on debug_level \u003e\u003d 3, so that both directions of the\n  GDB channel are visible.\n- Non-printable characters are checked for in every packet\n  so that hey do not interfere with the terminal.\n\nChange-Id: I0613e57ae5059b3279b0abcb71276cf5719a8699\nSigned-off-by: Jan Matyas \u003cmatyas@codasip.com\u003e\nReviewed-on: http://openocd.zylin.com/6269\nTested-by: jenkins\nReviewed-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"3cd906f4bc4ff60e9b571ee767a01308c54f21e3":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2021-05-21 06:15:22.000000000","uploader":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"ref":"refs/changes/69/6269/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/69/6269/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/2 \u0026\u0026 git checkout -b change-6269 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/69/6269/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"d3a859cc448441a0220287bfeecd0fab72cb31ca","subject":"cmsis_dap: fix build on macOS"}],"author":{"name":"Jan Matyas","email":"matyas@codasip.com","date":"2021-05-21 06:02:29.000000000","tz":120},"committer":{"name":"Jan Matyas","email":"matyas@codasip.com","date":"2021-05-21 06:14:51.000000000","tz":120},"subject":"gdb_server: Log both incoming and outgoing GDB packets","message":"gdb_server: Log both incoming and outgoing GDB packets\n\n- Made sure that also outgoing GDB packets are logged,\n  not only the incoming ones.\n\n- Improved the treatment of non-printable characters\n  in the packets to make it more robust.\n\nPrior to this change:\n\n- Outgoing packets were not printed unless OpenOCD was\n  re-compiled with _DEBUG_GDB_IO_.\n- Non-prinable characters were only treated in incoming\n  \u0027X\u0027 packets.\n\nAfter this change:\n\n- Both incoming and outgoing GDB packets are logged\n  on debug_level \u003e\u003d 3, so that both directions of the\n  GDB channel are visible.\n- Non-printable characters are checked for in every packet\n  so that hey do not interfere with the terminal.\n\nChange-Id: I0613e57ae5059b3279b0abcb71276cf5719a8699\nSigned-off-by: Jan Matyas \u003cmatyas@codasip.com\u003e\n"}},"998cae387388d0b62f3b2771cae86ce1bac7b4c9":{"kind":"TRIVIAL_REBASE","_number":3,"created":"2021-05-21 06:17:08.000000000","uploader":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"ref":"refs/changes/69/6269/3","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/69/6269/3","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/3 \u0026\u0026 git checkout -b change-6269 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/69/6269/3","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"936cff887abf116427802c4f07096fca1f2b1d88","subject":"cortex_m: fix VECTRESET detection for ARMv6-M cores"}],"author":{"name":"Jan Matyas","email":"matyas@codasip.com","date":"2021-05-21 06:02:29.000000000","tz":120},"committer":{"name":"Jan Matyas","email":"matyas@codasip.com","date":"2021-05-21 06:16:50.000000000","tz":120},"subject":"gdb_server: Log both incoming and outgoing GDB packets","message":"gdb_server: Log both incoming and outgoing GDB packets\n\n- Made sure that also outgoing GDB packets are logged,\n  not only the incoming ones.\n\n- Improved the treatment of non-printable characters\n  in the packets to make it more robust.\n\nPrior to this change:\n\n- Outgoing packets were not printed unless OpenOCD was\n  re-compiled with _DEBUG_GDB_IO_.\n- Non-prinable characters were only treated in incoming\n  \u0027X\u0027 packets.\n\nAfter this change:\n\n- Both incoming and outgoing GDB packets are logged\n  on debug_level \u003e\u003d 3, so that both directions of the\n  GDB channel are visible.\n- Non-printable characters are checked for in every packet\n  so that hey do not interfere with the terminal.\n\nChange-Id: I0613e57ae5059b3279b0abcb71276cf5719a8699\nSigned-off-by: Jan Matyas \u003cmatyas@codasip.com\u003e\n"}},"3bc40907792534089abb7778b7110cff0c615487":{"kind":"REWORK","_number":1,"created":"2021-05-21 06:13:59.000000000","uploader":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"ref":"refs/changes/69/6269/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/69/6269/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/1 \u0026\u0026 git checkout -b change-6269 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/69/6269/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/69/6269/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"d3a859cc448441a0220287bfeecd0fab72cb31ca","subject":"cmsis_dap: fix build on macOS"}],"author":{"name":"Jan Matyas","email":"matyas@codasip.com","date":"2021-05-21 06:02:29.000000000","tz":120},"committer":{"name":"Jan Matyas","email":"matyas@codasip.com","date":"2021-05-21 06:06:29.000000000","tz":120},"subject":"gdb_server: Log both incoming and outgoing GDB packets","message":"gdb_server: Log both incoming and outgoing GDB packets\n\n- Made sure that also outgoing GDB packets are logged,\n  not only the incoming ones.\n\n- Improved the treatment of non-printable characters\n  in the packets to make it more robust.\n\nPrior to this change:\n\n- Outgoing packets were not printed unless OpenOCD was\n  re-compiled with _DEBUG_GDB_IO_.\n- Non-prinable characters were only treated in incoming\n  \u0027X\u0027 packets.\n\nAfter this change:\n\n- Both incoming and outgoing GDB packets are logged\n  on debug_level \u003e\u003d 3, so that both directions of the\n  GDB channel are visible.\n- Non-printable characters are checked for in every packet\n  to avoid interfering with the terminal.\n\nChange-Id: I0613e57ae5059b3279b0abcb71276cf5719a8699\nSigned-off-by: Jan Matyas \u003cmatyas@codasip.com\u003e\n"}}},"requirements":[],"submit_records":[],"submit_requirements":[]}
