{"action":"created","comment":{"url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/comments/30143988","id":30143988,"diff_hunk":"@@ -26,6 +26,10 @@ Several important changes and enancements were added:\n      cat /proc/self/maps | grep '\\[vvar]'\n * Support for glibc version 2.21 added.  To see if this affects you, do:\n      ls -l /lib*/libc.so.6 /lib/*/libc.so.6\n+* The environment variable DMTCP_GDB_ATTACH_ON_RESTART was added.  Setting","path":"NEWS","position":13,"original_position":13,"commit_id":"cf0cc6705b1c6e90009b1e3aaa80ae78d432023b","original_commit_id":"cf0cc6705b1c6e90009b1e3aaa80ae78d432023b","user":{"login":"gc00","id":1207321,"avatar_url":"https://avatars.githubusercontent.com/u/1207321?v=3","gravatar_id":"","url":"https://api.github.com/users/gc00","html_url":"https://github.com/gc00","followers_url":"https://api.github.com/users/gc00/followers","following_url":"https://api.github.com/users/gc00/following{/other_user}","gists_url":"https://api.github.com/users/gc00/gists{/gist_id}","starred_url":"https://api.github.com/users/gc00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gc00/subscriptions","organizations_url":"https://api.github.com/users/gc00/orgs","repos_url":"https://api.github.com/users/gc00/repos","events_url":"https://api.github.com/users/gc00/events{/privacy}","received_events_url":"https://api.github.com/users/gc00/received_events","type":"User","site_admin":false},"body":"I had meant to add something like the following to the print statement:\r\n```Setting this can be a security risk.  But on a temporary basis, it can enable\r\neasier debugging of restarted processes:```\r\n[ I agree that we should also add this to:  `DMTCP_ROOT/doc/debugging-dmtcp.txt` .  I'll include the revised print statement and modified `debugging-dmtcp.txt` in the next iteration.","created_at":"2015-05-12T15:11:17Z","updated_at":"2015-05-12T15:11:17Z","html_url":"https://github.com/dmtcp/dmtcp/pull/103#discussion_r30143988","pull_request_url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/103","_links":{"self":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/comments/30143988"},"html":{"href":"https://github.com/dmtcp/dmtcp/pull/103#discussion_r30143988"},"pull_request":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/103"}}},"pull_request":{"url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/103","id":35080116,"html_url":"https://github.com/dmtcp/dmtcp/pull/103","diff_url":"https://github.com/dmtcp/dmtcp/pull/103.diff","patch_url":"https://github.com/dmtcp/dmtcp/pull/103.patch","issue_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/103","number":103,"state":"open","locked":false,"title":"Env var DMTCP_GDB_ATTACH_ON_RESTART allows attach","user":{"login":"gc00","id":1207321,"avatar_url":"https://avatars.githubusercontent.com/u/1207321?v=3","gravatar_id":"","url":"https://api.github.com/users/gc00","html_url":"https://github.com/gc00","followers_url":"https://api.github.com/users/gc00/followers","following_url":"https://api.github.com/users/gc00/following{/other_user}","gists_url":"https://api.github.com/users/gc00/gists{/gist_id}","starred_url":"https://api.github.com/users/gc00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gc00/subscriptions","organizations_url":"https://api.github.com/users/gc00/orgs","repos_url":"https://api.github.com/users/gc00/repos","events_url":"https://api.github.com/users/gc00/events{/privacy}","received_events_url":"https://api.github.com/users/gc00/received_events","type":"User","site_admin":false},"body":"Linux distros of the last few years don't allow 'gdb PROGNAME PID' when the PID is not a child process of the current process.  This allows:\r\n\r\n    DMTCP_GDB_ATTACH_ON_RESTART=1 dmtcp_restart ckpt_a.out_*.dmtcp &\r\n    gdb a.out `pgrep -n a.out`\r\n(I plan to include the recipe above in the DMTCP FAQ.)","created_at":"2015-05-10T09:42:09Z","updated_at":"2015-05-12T15:11:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9564a6638766bf74c82ade87d2a4d621aa01d828","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/103/commits","review_comments_url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/103/comments","review_comment_url":"https://api.github.com/repos/dmtcp/dmtcp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/103/comments","statuses_url":"https://api.github.com/repos/dmtcp/dmtcp/statuses/cf0cc6705b1c6e90009b1e3aaa80ae78d432023b","head":{"label":"gc00:gdb-attach-on-restart","ref":"gdb-attach-on-restart","sha":"cf0cc6705b1c6e90009b1e3aaa80ae78d432023b","user":{"login":"gc00","id":1207321,"avatar_url":"https://avatars.githubusercontent.com/u/1207321?v=3","gravatar_id":"","url":"https://api.github.com/users/gc00","html_url":"https://github.com/gc00","followers_url":"https://api.github.com/users/gc00/followers","following_url":"https://api.github.com/users/gc00/following{/other_user}","gists_url":"https://api.github.com/users/gc00/gists{/gist_id}","starred_url":"https://api.github.com/users/gc00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gc00/subscriptions","organizations_url":"https://api.github.com/users/gc00/orgs","repos_url":"https://api.github.com/users/gc00/repos","events_url":"https://api.github.com/users/gc00/events{/privacy}","received_events_url":"https://api.github.com/users/gc00/received_events","type":"User","site_admin":false},"repo":{"id":32842900,"name":"dmtcp","full_name":"gc00/dmtcp","owner":{"login":"gc00","id":1207321,"avatar_url":"https://avatars.githubusercontent.com/u/1207321?v=3","gravatar_id":"","url":"https://api.github.com/users/gc00","html_url":"https://github.com/gc00","followers_url":"https://api.github.com/users/gc00/followers","following_url":"https://api.github.com/users/gc00/following{/other_user}","gists_url":"https://api.github.com/users/gc00/gists{/gist_id}","starred_url":"https://api.github.com/users/gc00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gc00/subscriptions","organizations_url":"https://api.github.com/users/gc00/orgs","repos_url":"https://api.github.com/users/gc00/repos","events_url":"https://api.github.com/users/gc00/events{/privacy}","received_events_url":"https://api.github.com/users/gc00/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gc00/dmtcp","description":"DMTCP: Distributed MultiThreaded CheckPointing","fork":true,"url":"https://api.github.com/repos/gc00/dmtcp","forks_url":"https://api.github.com/repos/gc00/dmtcp/forks","keys_url":"https://api.github.com/repos/gc00/dmtcp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gc00/dmtcp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gc00/dmtcp/teams","hooks_url":"https://api.github.com/repos/gc00/dmtcp/hooks","issue_events_url":"https://api.github.com/repos/gc00/dmtcp/issues/events{/number}","events_url":"https://api.github.com/repos/gc00/dmtcp/events","assignees_url":"https://api.github.com/repos/gc00/dmtcp/assignees{/user}","branches_url":"https://api.github.com/repos/gc00/dmtcp/branches{/branch}","tags_url":"https://api.github.com/repos/gc00/dmtcp/tags","blobs_url":"https://api.github.com/repos/gc00/dmtcp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gc00/dmtcp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gc00/dmtcp/git/refs{/sha}","trees_url":"https://api.github.com/repos/gc00/dmtcp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gc00/dmtcp/statuses/{sha}","languages_url":"https://api.github.com/repos/gc00/dmtcp/languages","stargazers_url":"https://api.github.com/repos/gc00/dmtcp/stargazers","contributors_url":"https://api.github.com/repos/gc00/dmtcp/contributors","subscribers_url":"https://api.github.com/repos/gc00/dmtcp/subscribers","subscription_url":"https://api.github.com/repos/gc00/dmtcp/subscription","commits_url":"https://api.github.com/repos/gc00/dmtcp/commits{/sha}","git_commits_url":"https://api.github.com/repos/gc00/dmtcp/git/commits{/sha}","comments_url":"https://api.github.com/repos/gc00/dmtcp/comments{/number}","issue_comment_url":"https://api.github.com/repos/gc00/dmtcp/issues/comments{/number}","contents_url":"https://api.github.com/repos/gc00/dmtcp/contents/{+path}","compare_url":"https://api.github.com/repos/gc00/dmtcp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gc00/dmtcp/merges","archive_url":"https://api.github.com/repos/gc00/dmtcp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gc00/dmtcp/downloads","issues_url":"https://api.github.com/repos/gc00/dmtcp/issues{/number}","pulls_url":"https://api.github.com/repos/gc00/dmtcp/pulls{/number}","milestones_url":"https://api.github.com/repos/gc00/dmtcp/milestones{/number}","notifications_url":"https://api.github.com/repos/gc00/dmtcp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gc00/dmtcp/labels{/name}","releases_url":"https://api.github.com/repos/gc00/dmtcp/releases{/id}","created_at":"2015-03-25T04:39:37Z","updated_at":"2015-04-17T07:35:22Z","pushed_at":"2015-05-11T21:35:56Z","git_url":"git://github.com/gc00/dmtcp.git","ssh_url":"git@github.com:gc00/dmtcp.git","clone_url":"https://github.com/gc00/dmtcp.git","svn_url":"https://github.com/gc00/dmtcp","homepage":"http://dmtcp.sourceforge.net/","size":11632,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"dmtcp:master","ref":"master","sha":"ee6c20df46c86cacc705a7baa4c5d7ee355e5ece","user":{"login":"dmtcp","id":1207316,"avatar_url":"https://avatars.githubusercontent.com/u/1207316?v=3","gravatar_id":"","url":"https://api.github.com/users/dmtcp","html_url":"https://github.com/dmtcp","followers_url":"https://api.github.com/users/dmtcp/followers","following_url":"https://api.github.com/users/dmtcp/following{/other_user}","gists_url":"https://api.github.com/users/dmtcp/gists{/gist_id}","starred_url":"https://api.github.com/users/dmtcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmtcp/subscriptions","organizations_url":"https://api.github.com/users/dmtcp/orgs","repos_url":"https://api.github.com/users/dmtcp/repos","events_url":"https://api.github.com/users/dmtcp/events{/privacy}","received_events_url":"https://api.github.com/users/dmtcp/received_events","type":"Organization","site_admin":false},"repo":{"id":24297650,"name":"dmtcp","full_name":"dmtcp/dmtcp","owner":{"login":"dmtcp","id":1207316,"avatar_url":"https://avatars.githubusercontent.com/u/1207316?v=3","gravatar_id":"","url":"https://api.github.com/users/dmtcp","html_url":"https://github.com/dmtcp","followers_url":"https://api.github.com/users/dmtcp/followers","following_url":"https://api.github.com/users/dmtcp/following{/other_user}","gists_url":"https://api.github.com/users/dmtcp/gists{/gist_id}","starred_url":"https://api.github.com/users/dmtcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmtcp/subscriptions","organizations_url":"https://api.github.com/users/dmtcp/orgs","repos_url":"https://api.github.com/users/dmtcp/repos","events_url":"https://api.github.com/users/dmtcp/events{/privacy}","received_events_url":"https://api.github.com/users/dmtcp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dmtcp/dmtcp","description":"DMTCP: Distributed MultiThreaded CheckPointing","fork":false,"url":"https://api.github.com/repos/dmtcp/dmtcp","forks_url":"https://api.github.com/repos/dmtcp/dmtcp/forks","keys_url":"https://api.github.com/repos/dmtcp/dmtcp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmtcp/dmtcp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmtcp/dmtcp/teams","hooks_url":"https://api.github.com/repos/dmtcp/dmtcp/hooks","issue_events_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/events{/number}","events_url":"https://api.github.com/repos/dmtcp/dmtcp/events","assignees_url":"https://api.github.com/repos/dmtcp/dmtcp/assignees{/user}","branches_url":"https://api.github.com/repos/dmtcp/dmtcp/branches{/branch}","tags_url":"https://api.github.com/repos/dmtcp/dmtcp/tags","blobs_url":"https://api.github.com/repos/dmtcp/dmtcp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmtcp/dmtcp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmtcp/dmtcp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmtcp/dmtcp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmtcp/dmtcp/statuses/{sha}","languages_url":"https://api.github.com/repos/dmtcp/dmtcp/languages","stargazers_url":"https://api.github.com/repos/dmtcp/dmtcp/stargazers","contributors_url":"https://api.github.com/repos/dmtcp/dmtcp/contributors","subscribers_url":"https://api.github.com/repos/dmtcp/dmtcp/subscribers","subscription_url":"https://api.github.com/repos/dmtcp/dmtcp/subscription","commits_url":"https://api.github.com/repos/dmtcp/dmtcp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmtcp/dmtcp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmtcp/dmtcp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmtcp/dmtcp/contents/{+path}","compare_url":"https://api.github.com/repos/dmtcp/dmtcp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmtcp/dmtcp/merges","archive_url":"https://api.github.com/repos/dmtcp/dmtcp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmtcp/dmtcp/downloads","issues_url":"https://api.github.com/repos/dmtcp/dmtcp/issues{/number}","pulls_url":"https://api.github.com/repos/dmtcp/dmtcp/pulls{/number}","milestones_url":"https://api.github.com/repos/dmtcp/dmtcp/milestones{/number}","notifications_url":"https://api.github.com/repos/dmtcp/dmtcp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmtcp/dmtcp/labels{/name}","releases_url":"https://api.github.com/repos/dmtcp/dmtcp/releases{/id}","created_at":"2014-09-21T17:21:59Z","updated_at":"2015-05-11T11:25:30Z","pushed_at":"2015-05-11T21:39:59Z","git_url":"git://github.com/dmtcp/dmtcp.git","ssh_url":"git@github.com:dmtcp/dmtcp.git","clone_url":"https://github.com/dmtcp/dmtcp.git","svn_url":"https://github.com/dmtcp/dmtcp","homepage":"http://dmtcp.sourceforge.net/","size":16341,"stargazers_count":17,"watchers_count":17,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":51,"forks":13,"open_issues":51,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/103"},"html":{"href":"https://github.com/dmtcp/dmtcp/pull/103"},"issue":{"href":"https://api.github.com/repos/dmtcp/dmtcp/issues/103"},"comments":{"href":"https://api.github.com/repos/dmtcp/dmtcp/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmtcp/dmtcp/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/dmtcp/dmtcp/statuses/cf0cc6705b1c6e90009b1e3aaa80ae78d432023b"}}}}