{"action":"created","comment":{"url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments/109020546","pull_request_review_id":30095100,"id":109020546,"diff_hunk":"@@ -62,9 +66,9 @@ def build_parser(self):\n         parser.add_argument(\"--list-targets\", action=\"store_true\", dest=\"list_targets\", default=False, help=\"List all available targets.\")\n         parser.add_argument(\"--json\", action=\"store_true\", dest=\"output_json\", default=False, help=\"Output lists in JSON format. Only applies to --list and --list-targets.\")\n         parser.add_argument(\"-d\", \"--debug\", dest=\"debug_level\", choices=debug_levels, default='info', help=\"Set the level of system logging output. Supported choices are: \" + \", \".join(debug_levels), metavar=\"LEVEL\")\n-        parser.add_argument(\"-t\", \"--target\", dest=\"target_override\", choices=supported_targets, default=None, help=\"Override target to debug.  Supported targets are: \" + \", \".join(supported_targets), metavar=\"TARGET\")\n-        parser.add_argument(\"-n\", \"--nobreak\", dest=\"break_at_hardfault\", default=True, action=\"store_false\", help=\"Disable halt at hardfault handler.\")\n-        parser.add_argument(\"-r\", \"--reset-break\", dest=\"break_on_reset\", default=False, action=\"store_true\", help=\"Halt the target when reset.\")\n+        parser.add_argument(\"-t\", \"--target\", dest=\"target_override\", default=None, help=\"Override target to debug.\", metavar=\"TARGET\")\n+        parser.add_argument(\"-n\", \"--nobreak\", dest=\"break_at_hardfault\", default=True, action=\"store_false\", help=\"Disable halt at hardfault handler. (Deprecated)\")","path":"pyOCD/tools/gdb_server.py","position":29,"original_position":29,"commit_id":"908cbb661be45f4a1634d16f6a0fbb36f071f421","original_commit_id":"908cbb661be45f4a1634d16f6a0fbb36f071f421","user":{"login":"flit","id":3116536,"avatar_url":"https://avatars2.githubusercontent.com/u/3116536?v=3","gravatar_id":"","url":"https://api.github.com/users/flit","html_url":"https://github.com/flit","followers_url":"https://api.github.com/users/flit/followers","following_url":"https://api.github.com/users/flit/following{/other_user}","gists_url":"https://api.github.com/users/flit/gists{/gist_id}","starred_url":"https://api.github.com/users/flit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flit/subscriptions","organizations_url":"https://api.github.com/users/flit/orgs","repos_url":"https://api.github.com/users/flit/repos","events_url":"https://api.github.com/users/flit/events{/privacy}","received_events_url":"https://api.github.com/users/flit/received_events","type":"User","site_admin":false},"body":"Good point, `--nobreak` is simpler than `--vector-catch=none`.","created_at":"2017-03-30T19:51:34Z","updated_at":"2017-03-30T19:51:34Z","html_url":"https://github.com/mbedmicro/pyOCD/pull/287#discussion_r109020546","pull_request_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/287","_links":{"self":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments/109020546"},"html":{"href":"https://github.com/mbedmicro/pyOCD/pull/287#discussion_r109020546"},"pull_request":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/287"}}},"pull_request":{"url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/287","id":112337354,"html_url":"https://github.com/mbedmicro/pyOCD/pull/287","diff_url":"https://github.com/mbedmicro/pyOCD/pull/287.diff","patch_url":"https://github.com/mbedmicro/pyOCD/pull/287.patch","issue_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/287","number":287,"state":"open","locked":false,"title":"pyocd-tool improvements","user":{"login":"flit","id":3116536,"avatar_url":"https://avatars2.githubusercontent.com/u/3116536?v=3","gravatar_id":"","url":"https://api.github.com/users/flit","html_url":"https://github.com/flit","followers_url":"https://api.github.com/users/flit/followers","following_url":"https://api.github.com/users/flit/following{/other_user}","gists_url":"https://api.github.com/users/flit/gists{/gist_id}","starred_url":"https://api.github.com/users/flit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flit/subscriptions","organizations_url":"https://api.github.com/users/flit/orgs","repos_url":"https://api.github.com/users/flit/repos","events_url":"https://api.github.com/users/flit/events{/privacy}","received_events_url":"https://api.github.com/users/flit/received_events","type":"User","site_admin":false},"body":"Multiple changes to pyocd-tool.\r\n- New commands:\r\n  - savemem, loadmem\r\n  - setreset\r\n  - break, rmbreak, lsbreak\r\n  - readdp, writedp, readap, writeap\r\n  - reinit\r\n  - show\r\n- New aliases for read/write memory commands with {b,h,w} suffixes.\r\n- Prefixing the command with \"!\" lets you execute a shell command.\r\n- Replaced info command with show command, with these options: map, peripherals, uid, cores, target\r\n- Support for writing peripheral registers and bitfields, as defined in the target's SVD file.\r\n- --no-init command line option, to allow for debugging of the initial connect sequence.\r\n\r\nIncludes a couple other small changes.\r\n- New --mass-erase command line option to pyocd-flashtool, currently only implemented for Kinetis.\r\n- Case-insensitive target name matching.\r\n","created_at":"2017-03-23T21:01:05Z","updated_at":"2017-03-30T19:51:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"998186126ef41c1252769af8077ec2df8d59a332","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/287/commits","review_comments_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/287/comments","review_comment_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/287/comments","statuses_url":"https://api.github.com/repos/mbedmicro/pyOCD/statuses/908cbb661be45f4a1634d16f6a0fbb36f071f421","head":{"label":"flit:dev_pyocd_tool","ref":"dev_pyocd_tool","sha":"908cbb661be45f4a1634d16f6a0fbb36f071f421","user":{"login":"flit","id":3116536,"avatar_url":"https://avatars2.githubusercontent.com/u/3116536?v=3","gravatar_id":"","url":"https://api.github.com/users/flit","html_url":"https://github.com/flit","followers_url":"https://api.github.com/users/flit/followers","following_url":"https://api.github.com/users/flit/following{/other_user}","gists_url":"https://api.github.com/users/flit/gists{/gist_id}","starred_url":"https://api.github.com/users/flit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flit/subscriptions","organizations_url":"https://api.github.com/users/flit/orgs","repos_url":"https://api.github.com/users/flit/repos","events_url":"https://api.github.com/users/flit/events{/privacy}","received_events_url":"https://api.github.com/users/flit/received_events","type":"User","site_admin":false},"repo":{"id":14731481,"name":"pyOCD","full_name":"flit/pyOCD","owner":{"login":"flit","id":3116536,"avatar_url":"https://avatars2.githubusercontent.com/u/3116536?v=3","gravatar_id":"","url":"https://api.github.com/users/flit","html_url":"https://github.com/flit","followers_url":"https://api.github.com/users/flit/followers","following_url":"https://api.github.com/users/flit/following{/other_user}","gists_url":"https://api.github.com/users/flit/gists{/gist_id}","starred_url":"https://api.github.com/users/flit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flit/subscriptions","organizations_url":"https://api.github.com/users/flit/orgs","repos_url":"https://api.github.com/users/flit/repos","events_url":"https://api.github.com/users/flit/events{/privacy}","received_events_url":"https://api.github.com/users/flit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flit/pyOCD","description":"Open source python library for programming and debugging ARM Cortex-M microcontrollers using CMSIS-DAP","fork":true,"url":"https://api.github.com/repos/flit/pyOCD","forks_url":"https://api.github.com/repos/flit/pyOCD/forks","keys_url":"https://api.github.com/repos/flit/pyOCD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flit/pyOCD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flit/pyOCD/teams","hooks_url":"https://api.github.com/repos/flit/pyOCD/hooks","issue_events_url":"https://api.github.com/repos/flit/pyOCD/issues/events{/number}","events_url":"https://api.github.com/repos/flit/pyOCD/events","assignees_url":"https://api.github.com/repos/flit/pyOCD/assignees{/user}","branches_url":"https://api.github.com/repos/flit/pyOCD/branches{/branch}","tags_url":"https://api.github.com/repos/flit/pyOCD/tags","blobs_url":"https://api.github.com/repos/flit/pyOCD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flit/pyOCD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flit/pyOCD/git/refs{/sha}","trees_url":"https://api.github.com/repos/flit/pyOCD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flit/pyOCD/statuses/{sha}","languages_url":"https://api.github.com/repos/flit/pyOCD/languages","stargazers_url":"https://api.github.com/repos/flit/pyOCD/stargazers","contributors_url":"https://api.github.com/repos/flit/pyOCD/contributors","subscribers_url":"https://api.github.com/repos/flit/pyOCD/subscribers","subscription_url":"https://api.github.com/repos/flit/pyOCD/subscription","commits_url":"https://api.github.com/repos/flit/pyOCD/commits{/sha}","git_commits_url":"https://api.github.com/repos/flit/pyOCD/git/commits{/sha}","comments_url":"https://api.github.com/repos/flit/pyOCD/comments{/number}","issue_comment_url":"https://api.github.com/repos/flit/pyOCD/issues/comments{/number}","contents_url":"https://api.github.com/repos/flit/pyOCD/contents/{+path}","compare_url":"https://api.github.com/repos/flit/pyOCD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flit/pyOCD/merges","archive_url":"https://api.github.com/repos/flit/pyOCD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flit/pyOCD/downloads","issues_url":"https://api.github.com/repos/flit/pyOCD/issues{/number}","pulls_url":"https://api.github.com/repos/flit/pyOCD/pulls{/number}","milestones_url":"https://api.github.com/repos/flit/pyOCD/milestones{/number}","notifications_url":"https://api.github.com/repos/flit/pyOCD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flit/pyOCD/labels{/name}","releases_url":"https://api.github.com/repos/flit/pyOCD/releases{/id}","deployments_url":"https://api.github.com/repos/flit/pyOCD/deployments","created_at":"2013-11-26T22:48:46Z","updated_at":"2014-07-23T15:16:30Z","pushed_at":"2017-03-29T22:12:46Z","git_url":"git://github.com/flit/pyOCD.git","ssh_url":"git@github.com:flit/pyOCD.git","clone_url":"https://github.com/flit/pyOCD.git","svn_url":"https://github.com/flit/pyOCD","homepage":null,"size":1918,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mbedmicro:master","ref":"master","sha":"01da97e346d4f52cad01d46949903f2a4d096345","user":{"login":"mbedmicro","id":3626466,"avatar_url":"https://avatars1.githubusercontent.com/u/3626466?v=3","gravatar_id":"","url":"https://api.github.com/users/mbedmicro","html_url":"https://github.com/mbedmicro","followers_url":"https://api.github.com/users/mbedmicro/followers","following_url":"https://api.github.com/users/mbedmicro/following{/other_user}","gists_url":"https://api.github.com/users/mbedmicro/gists{/gist_id}","starred_url":"https://api.github.com/users/mbedmicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbedmicro/subscriptions","organizations_url":"https://api.github.com/users/mbedmicro/orgs","repos_url":"https://api.github.com/users/mbedmicro/repos","events_url":"https://api.github.com/users/mbedmicro/events{/privacy}","received_events_url":"https://api.github.com/users/mbedmicro/received_events","type":"Organization","site_admin":false},"repo":{"id":13862423,"name":"pyOCD","full_name":"mbedmicro/pyOCD","owner":{"login":"mbedmicro","id":3626466,"avatar_url":"https://avatars1.githubusercontent.com/u/3626466?v=3","gravatar_id":"","url":"https://api.github.com/users/mbedmicro","html_url":"https://github.com/mbedmicro","followers_url":"https://api.github.com/users/mbedmicro/followers","following_url":"https://api.github.com/users/mbedmicro/following{/other_user}","gists_url":"https://api.github.com/users/mbedmicro/gists{/gist_id}","starred_url":"https://api.github.com/users/mbedmicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbedmicro/subscriptions","organizations_url":"https://api.github.com/users/mbedmicro/orgs","repos_url":"https://api.github.com/users/mbedmicro/repos","events_url":"https://api.github.com/users/mbedmicro/events{/privacy}","received_events_url":"https://api.github.com/users/mbedmicro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mbedmicro/pyOCD","description":"Open source python library for programming and debugging ARM Cortex-M microcontrollers using CMSIS-DAP","fork":false,"url":"https://api.github.com/repos/mbedmicro/pyOCD","forks_url":"https://api.github.com/repos/mbedmicro/pyOCD/forks","keys_url":"https://api.github.com/repos/mbedmicro/pyOCD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbedmicro/pyOCD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbedmicro/pyOCD/teams","hooks_url":"https://api.github.com/repos/mbedmicro/pyOCD/hooks","issue_events_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/events{/number}","events_url":"https://api.github.com/repos/mbedmicro/pyOCD/events","assignees_url":"https://api.github.com/repos/mbedmicro/pyOCD/assignees{/user}","branches_url":"https://api.github.com/repos/mbedmicro/pyOCD/branches{/branch}","tags_url":"https://api.github.com/repos/mbedmicro/pyOCD/tags","blobs_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbedmicro/pyOCD/statuses/{sha}","languages_url":"https://api.github.com/repos/mbedmicro/pyOCD/languages","stargazers_url":"https://api.github.com/repos/mbedmicro/pyOCD/stargazers","contributors_url":"https://api.github.com/repos/mbedmicro/pyOCD/contributors","subscribers_url":"https://api.github.com/repos/mbedmicro/pyOCD/subscribers","subscription_url":"https://api.github.com/repos/mbedmicro/pyOCD/subscription","commits_url":"https://api.github.com/repos/mbedmicro/pyOCD/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbedmicro/pyOCD/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbedmicro/pyOCD/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbedmicro/pyOCD/contents/{+path}","compare_url":"https://api.github.com/repos/mbedmicro/pyOCD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbedmicro/pyOCD/merges","archive_url":"https://api.github.com/repos/mbedmicro/pyOCD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbedmicro/pyOCD/downloads","issues_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues{/number}","pulls_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls{/number}","milestones_url":"https://api.github.com/repos/mbedmicro/pyOCD/milestones{/number}","notifications_url":"https://api.github.com/repos/mbedmicro/pyOCD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbedmicro/pyOCD/labels{/name}","releases_url":"https://api.github.com/repos/mbedmicro/pyOCD/releases{/id}","deployments_url":"https://api.github.com/repos/mbedmicro/pyOCD/deployments","created_at":"2013-10-25T14:10:05Z","updated_at":"2017-03-25T22:54:55Z","pushed_at":"2017-03-29T22:12:47Z","git_url":"git://github.com/mbedmicro/pyOCD.git","ssh_url":"git@github.com:mbedmicro/pyOCD.git","clone_url":"https://github.com/mbedmicro/pyOCD.git","svn_url":"https://github.com/mbedmicro/pyOCD","homepage":null,"size":1412,"stargazers_count":138,"watchers_count":138,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":100,"mirror_url":null,"open_issues_count":22,"forks":100,"open_issues":22,"watchers":138,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/287"},"html":{"href":"https://github.com/mbedmicro/pyOCD/pull/287"},"issue":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/issues/287"},"comments":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/issues/287/comments"},"review_comments":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/287/comments"},"review_comment":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/287/commits"},"statuses":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/statuses/908cbb661be45f4a1634d16f6a0fbb36f071f421"}}}}
{"actor":{"display_login":"flit"}}