{"action":"closed","issue":{"url":"https://api.github.com/repos/blacksphere/blackmagic/issues/225","repository_url":"https://api.github.com/repos/blacksphere/blackmagic","labels_url":"https://api.github.com/repos/blacksphere/blackmagic/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/blacksphere/blackmagic/issues/225/comments","events_url":"https://api.github.com/repos/blacksphere/blackmagic/issues/225/events","html_url":"https://github.com/blacksphere/blackmagic/issues/225","id":226450544,"number":225,"title":"gdb doesn't respond to interrupt","user":{"login":"ladmanj","id":28023956,"avatar_url":"https://avatars0.githubusercontent.com/u/28023956?v=3","gravatar_id":"","url":"https://api.github.com/users/ladmanj","html_url":"https://github.com/ladmanj","followers_url":"https://api.github.com/users/ladmanj/followers","following_url":"https://api.github.com/users/ladmanj/following{/other_user}","gists_url":"https://api.github.com/users/ladmanj/gists{/gist_id}","starred_url":"https://api.github.com/users/ladmanj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ladmanj/subscriptions","organizations_url":"https://api.github.com/users/ladmanj/orgs","repos_url":"https://api.github.com/users/ladmanj/repos","events_url":"https://api.github.com/users/ladmanj/events{/privacy}","received_events_url":"https://api.github.com/users/ladmanj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-05T01:21:27Z","updated_at":"2017-05-07T20:25:25Z","closed_at":"2017-05-07T20:25:25Z","body":"When trying to use gdb with BMP gdbserver and eclipse cdt, gdb doesn't respond to interrupt command.\r\nWhile looking at the interaction between eclipse and gdb i can see this\r\nrequest:\r\n99-interpreter-exec --thread-group i1 console kill\r\nresponse:\r\n&\"Quit\\n\"\r\n&\"Quit\\n\"\r\n&\"Quit\\n\"\r\n&\"Cannot execute this command while the target is running.\\n\"\r\n&\"Use the \\\"interrupt\\\" command to stop the target\\n\"\r\n&\"and then try again.\\n\"\r\n99^error,msg=\"Cannot execute this command while the target is running.\\nUse the \\\"interrupt\\\" command to stop the target\\nand then try again.\"\r\n(gdb) \r\n\r\nThis prevents also inserting a breakpoint while process is running, only the breakpoints inserted before \r\n30-exec-run --thread-group i1 (comming from .gdbinit file) are accepted.\r\n\r\ngdb version:\r\nGNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20151217-cvs\r\nCopyright (C) 2015 Free Software Foundation, Inc.\r\nbmp version:\r\nBlack Magic Probe (Firmware v1.6-rc0-257-gd6e2977) (Hardware Version 0)\r\nCopyright (C) 2015  Black Sphere Technologies Ltd.\r\n\r\nThanks"}}
{"actor":{"display_login":"ladmanj"}}