{"action":"closed","number":152,"pull_request":{"url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/152","id":37096563,"html_url":"https://github.com/mbedmicro/pyOCD/pull/152","diff_url":"https://github.com/mbedmicro/pyOCD/pull/152.diff","patch_url":"https://github.com/mbedmicro/pyOCD/pull/152.patch","issue_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/152","number":152,"state":"closed","locked":false,"title":"Fix halting target in gdb_server.py","user":{"login":"c1728p9","id":2916772,"avatar_url":"https://avatars.githubusercontent.com/u/2916772?v=3","gravatar_id":"","url":"https://api.github.com/users/c1728p9","html_url":"https://github.com/c1728p9","followers_url":"https://api.github.com/users/c1728p9/followers","following_url":"https://api.github.com/users/c1728p9/following{/other_user}","gists_url":"https://api.github.com/users/c1728p9/gists{/gist_id}","starred_url":"https://api.github.com/users/c1728p9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c1728p9/subscriptions","organizations_url":"https://api.github.com/users/c1728p9/orgs","repos_url":"https://api.github.com/users/c1728p9/repos","events_url":"https://api.github.com/users/c1728p9/events{/privacy}","received_events_url":"https://api.github.com/users/c1728p9/received_events","type":"User","site_admin":false},"body":"The gdb server reports it supports \"no ack\" mode, but still sends acks\r\nafter switching modes.  This causes the gdb client to hang when sending\r\nthe halt command (ctrl-c).\r\n\r\nThis patch prevents gdb server from sending acks after it has switched\r\nmodes.  It also explicitly clears out the data buffer after calling\r\nhandleMsg, since this was done implicitly by the code responsible for\r\nreading acks.\r\n\r\nThe problems halting the target were introduced in the commit:\r\n29e552501686908fc6c05abdf98c9fadf0446b76 -\r\n\"GDBServer no ack mode support.\"","created_at":"2015-06-06T20:51:32Z","updated_at":"2015-06-07T09:19:37Z","closed_at":"2015-06-07T09:19:37Z","merged_at":"2015-06-07T09:19:37Z","merge_commit_sha":"2da9fc7c06568957ffba8a6ba5de3fe9c99c63c8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/152/commits","review_comments_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/152/comments","review_comment_url":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mbedmicro/pyOCD/issues/152/comments","statuses_url":"https://api.github.com/repos/mbedmicro/pyOCD/statuses/8a690da01b7d1d8b4fab132b3b04f00881ba147c","head":{"label":"c1728p9:fix_gdb_server","ref":"fix_gdb_server","sha":"8a690da01b7d1d8b4fab132b3b04f00881ba147c","user":{"login":"c1728p9","id":2916772,"avatar_url":"https://avatars.githubusercontent.com/u/2916772?v=3","gravatar_id":"","url":"https://api.github.com/users/c1728p9","html_url":"https://github.com/c1728p9","followers_url":"https://api.github.com/users/c1728p9/followers","following_url":"https://api.github.com/users/c1728p9/following{/other_user}","gists_url":"https://api.github.com/users/c1728p9/gists{/gist_id}","starred_url":"https://api.github.com/users/c1728p9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c1728p9/subscriptions","organizations_url":"https://api.github.com/users/c1728p9/orgs","repos_url":"https://api.github.com/users/c1728p9/repos","events_url":"https://api.github.com/users/c1728p9/events{/privacy}","received_events_url":"https://api.github.com/users/c1728p9/received_events","type":"User","site_admin":false},"repo":{"id":17330511,"name":"pyOCD","full_name":"c1728p9/pyOCD","owner":{"login":"c1728p9","id":2916772,"avatar_url":"https://avatars.githubusercontent.com/u/2916772?v=3","gravatar_id":"","url":"https://api.github.com/users/c1728p9","html_url":"https://github.com/c1728p9","followers_url":"https://api.github.com/users/c1728p9/followers","following_url":"https://api.github.com/users/c1728p9/following{/other_user}","gists_url":"https://api.github.com/users/c1728p9/gists{/gist_id}","starred_url":"https://api.github.com/users/c1728p9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c1728p9/subscriptions","organizations_url":"https://api.github.com/users/c1728p9/orgs","repos_url":"https://api.github.com/users/c1728p9/repos","events_url":"https://api.github.com/users/c1728p9/events{/privacy}","received_events_url":"https://api.github.com/users/c1728p9/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/c1728p9/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/c1728p9/pyOCD","forks_url":"https://api.github.com/repos/c1728p9/pyOCD/forks","keys_url":"https://api.github.com/repos/c1728p9/pyOCD/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c1728p9/pyOCD/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c1728p9/pyOCD/teams","hooks_url":"https://api.github.com/repos/c1728p9/pyOCD/hooks","issue_events_url":"https://api.github.com/repos/c1728p9/pyOCD/issues/events{/number}","events_url":"https://api.github.com/repos/c1728p9/pyOCD/events","assignees_url":"https://api.github.com/repos/c1728p9/pyOCD/assignees{/user}","branches_url":"https://api.github.com/repos/c1728p9/pyOCD/branches{/branch}","tags_url":"https://api.github.com/repos/c1728p9/pyOCD/tags","blobs_url":"https://api.github.com/repos/c1728p9/pyOCD/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c1728p9/pyOCD/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c1728p9/pyOCD/git/refs{/sha}","trees_url":"https://api.github.com/repos/c1728p9/pyOCD/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c1728p9/pyOCD/statuses/{sha}","languages_url":"https://api.github.com/repos/c1728p9/pyOCD/languages","stargazers_url":"https://api.github.com/repos/c1728p9/pyOCD/stargazers","contributors_url":"https://api.github.com/repos/c1728p9/pyOCD/contributors","subscribers_url":"https://api.github.com/repos/c1728p9/pyOCD/subscribers","subscription_url":"https://api.github.com/repos/c1728p9/pyOCD/subscription","commits_url":"https://api.github.com/repos/c1728p9/pyOCD/commits{/sha}","git_commits_url":"https://api.github.com/repos/c1728p9/pyOCD/git/commits{/sha}","comments_url":"https://api.github.com/repos/c1728p9/pyOCD/comments{/number}","issue_comment_url":"https://api.github.com/repos/c1728p9/pyOCD/issues/comments{/number}","contents_url":"https://api.github.com/repos/c1728p9/pyOCD/contents/{+path}","compare_url":"https://api.github.com/repos/c1728p9/pyOCD/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c1728p9/pyOCD/merges","archive_url":"https://api.github.com/repos/c1728p9/pyOCD/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c1728p9/pyOCD/downloads","issues_url":"https://api.github.com/repos/c1728p9/pyOCD/issues{/number}","pulls_url":"https://api.github.com/repos/c1728p9/pyOCD/pulls{/number}","milestones_url":"https://api.github.com/repos/c1728p9/pyOCD/milestones{/number}","notifications_url":"https://api.github.com/repos/c1728p9/pyOCD/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c1728p9/pyOCD/labels{/name}","releases_url":"https://api.github.com/repos/c1728p9/pyOCD/releases{/id}","created_at":"2014-03-02T04:04:00Z","updated_at":"2015-04-20T11:36:25Z","pushed_at":"2015-06-06T20:50:33Z","git_url":"git://github.com/c1728p9/pyOCD.git","ssh_url":"git@github.com:c1728p9/pyOCD.git","clone_url":"https://github.com/c1728p9/pyOCD.git","svn_url":"https://github.com/c1728p9/pyOCD","homepage":null,"size":1345,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mbedmicro:master","ref":"master","sha":"881321487a6d93b7bd5603c809ff8c6cfcd4e58f","user":{"login":"mbedmicro","id":3626466,"avatar_url":"https://avatars.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://avatars.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}","created_at":"2013-10-25T14:10:05Z","updated_at":"2015-06-02T03:10:55Z","pushed_at":"2015-06-07T09:19:37Z","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":2225,"stargazers_count":66,"watchers_count":66,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":14,"forks":59,"open_issues":14,"watchers":66,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/152"},"html":{"href":"https://github.com/mbedmicro/pyOCD/pull/152"},"issue":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/issues/152"},"comments":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/mbedmicro/pyOCD/statuses/8a690da01b7d1d8b4fab132b3b04f00881ba147c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"0xc0170","id":2963726,"avatar_url":"https://avatars.githubusercontent.com/u/2963726?v=3","gravatar_id":"","url":"https://api.github.com/users/0xc0170","html_url":"https://github.com/0xc0170","followers_url":"https://api.github.com/users/0xc0170/followers","following_url":"https://api.github.com/users/0xc0170/following{/other_user}","gists_url":"https://api.github.com/users/0xc0170/gists{/gist_id}","starred_url":"https://api.github.com/users/0xc0170/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xc0170/subscriptions","organizations_url":"https://api.github.com/users/0xc0170/orgs","repos_url":"https://api.github.com/users/0xc0170/repos","events_url":"https://api.github.com/users/0xc0170/events{/privacy}","received_events_url":"https://api.github.com/users/0xc0170/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":6,"deletions":2,"changed_files":1}}