{"action":"created","issue":{"url":"https://api.github.com/repos/Harvey-OS/harvey/issues/464","repository_url":"https://api.github.com/repos/Harvey-OS/harvey","labels_url":"https://api.github.com/repos/Harvey-OS/harvey/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/Harvey-OS/harvey/issues/464/comments","events_url":"https://api.github.com/repos/Harvey-OS/harvey/issues/464/events","html_url":"https://github.com/Harvey-OS/harvey/issues/464","id":212177356,"number":464,"title":"gdbserver doesn't work","user":{"login":"floren","id":93811,"avatar_url":"https://avatars3.githubusercontent.com/u/93811?v=3","gravatar_id":"","url":"https://api.github.com/users/floren","html_url":"https://github.com/floren","followers_url":"https://api.github.com/users/floren/followers","following_url":"https://api.github.com/users/floren/following{/other_user}","gists_url":"https://api.github.com/users/floren/gists{/gist_id}","starred_url":"https://api.github.com/users/floren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floren/subscriptions","organizations_url":"https://api.github.com/users/floren/orgs","repos_url":"https://api.github.com/users/floren/repos","events_url":"https://api.github.com/users/floren/events{/privacy}","received_events_url":"https://api.github.com/users/floren/received_events","type":"User","site_admin":false},"labels":[{"id":572323130,"url":"https://api.github.com/repos/Harvey-OS/harvey/labels/blocker","name":"blocker","color":"ff0000","default":false},{"id":236087010,"url":"https://api.github.com/repos/Harvey-OS/harvey/labels/bug","name":"bug","color":"fc2929","default":true},{"id":236087013,"url":"https://api.github.com/repos/Harvey-OS/harvey/labels/help%20wanted","name":"help wanted","color":"fbca04","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-06T16:34:41Z","updated_at":"2017-03-29T22:20:31Z","closed_at":null,"body":"Debugging is important, and being able to use gdb is one of the benefits of switching to clang/gcc; if we can no longer use acid, we need something.\r\n\r\n#### Expected behavior\r\nShould be able to remote debug processes\r\n\r\n#### Actual behavior\r\ngdbserver exits and does nothing\r\n\r\n#### Steps to reproduce\r\n- Find pid of program you want to debug\r\n- run gdbserver -p <pid>\r\n- on LInux box, run \"gdb <binary>\"\r\n- at gdb prompt, type \"target remote <vm ip>:1666\""},"comment":{"url":"https://api.github.com/repos/Harvey-OS/harvey/issues/comments/290244176","html_url":"https://github.com/Harvey-OS/harvey/issues/464#issuecomment-290244176","issue_url":"https://api.github.com/repos/Harvey-OS/harvey/issues/464","id":290244176,"user":{"login":"floren","id":93811,"avatar_url":"https://avatars3.githubusercontent.com/u/93811?v=3","gravatar_id":"","url":"https://api.github.com/users/floren","html_url":"https://github.com/floren","followers_url":"https://api.github.com/users/floren/followers","following_url":"https://api.github.com/users/floren/following{/other_user}","gists_url":"https://api.github.com/users/floren/gists{/gist_id}","starred_url":"https://api.github.com/users/floren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floren/subscriptions","organizations_url":"https://api.github.com/users/floren/orgs","repos_url":"https://api.github.com/users/floren/repos","events_url":"https://api.github.com/users/floren/events{/privacy}","received_events_url":"https://api.github.com/users/floren/received_events","type":"User","site_admin":false},"created_at":"2017-03-29T22:20:31Z","updated_at":"2017-03-29T22:20:31Z","body":"Testing procedure:\r\n\r\nIn one rio window, run dd\r\nGet the pid of that dd. Let’s pretend it’s 314159\r\nIn another window:\r\n\r\n    ratrace -c gdbserver -p 314159\r\n\r\nOn the linux host:\r\n\r\n    gdb amd64/bin/dd \r\n\r\nOnce in gdb:\r\n\r\n    set architecture i386:x86-64\r\n    target remote harvey-host:1666\r\n\r\nIn the dd window, hit return\r\nAnd watch gdbserver crash and burn …\r\n"}}
{"actor":{"display_login":"floren"}}