{"pull_request":{"merged_at":"2011-12-19T09:43:43Z","user":{"id":27658,"login":"jdm","url":"https://api.github.com/users/jdm","avatar_url":"https://secure.gravatar.com/avatar/b13611d1950fd03a3e1d44195fa6f532?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b13611d1950fd03a3e1d44195fa6f532"},"created_at":"2011-12-19T06:51:06Z","title":"Basic debugging information support","updated_at":"2011-12-19T09:43:43Z","review_comments":0,"state":"closed","id":608564,"patch_url":"https://github.com/graydon/rust/pull/1331.patch","html_url":"https://github.com/graydon/rust/pull/1331","closed_at":"2011-12-19T09:43:43Z","deletions":22,"mergeable":null,"issue_url":"https://github.com/graydon/rust/issues/1331","base":{"user":{"id":14097,"login":"graydon","url":"https://api.github.com/users/graydon","avatar_url":"https://secure.gravatar.com/avatar/f1bc67b53f1a5512d778426cf447c5ab?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f1bc67b53f1a5512d778426cf447c5ab"},"ref":"master","sha":"fa27724a4bb213f896d4003ed129bf7caff7f3a0","repo":{"open_issues":206,"created_at":"2010-06-16T20:39:03Z","watchers":573,"git_url":"git://github.com/graydon/rust.git","updated_at":"2011-12-19T09:43:41Z","fork":false,"id":724712,"language":"Rust","html_url":"https://github.com/graydon/rust","name":"rust","description":"A work-in-progress programming language; not yet suitable for users","master_branch":null,"forks":58,"url":"https://api.github.com/repos/graydon/rust","ssh_url":"git@github.com:graydon/rust.git","clone_url":"https://github.com/graydon/rust.git","pushed_at":"2011-12-19T09:43:41Z","owner":{"id":14097,"login":"graydon","url":"https://api.github.com/users/graydon","avatar_url":"https://secure.gravatar.com/avatar/f1bc67b53f1a5512d778426cf447c5ab?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f1bc67b53f1a5512d778426cf447c5ab"},"homepage":"","size":2792,"svn_url":"https://svn.github.com/graydon/rust","private":false},"label":"graydon:master"},"body":"nmatsakis expressed interest in integrating even basic debugging support, and that's what this provides. The -g flag will produce source line correspondence output, allowing for stepping and breakpoints inside gdb. There's also an --xg (extra debugging) flag behind which the rest of the debugging support lies unfinished (ie. can't build rustc completely yet, but works on toy programs).\r\n\r\nSome stats:\r\n\r\n```\r\ngodot:build jdm$ time x86_64-apple-darwin/stage2/bin/rustc --target=x86_64-apple-darwin  -o x86_64-apple-darwin/stage2/lib/rustc/x86_64-apple-darwin/bin/rustc ../src/comp/rustc.rc\r\nwarning: no debug symbols in executable (-arch x86_64)\r\n\r\nreal\t0m40.174s\r\nuser\t0m39.633s\r\nsys\t0m0.708s\r\n\r\ngodot:build jdm$ time x86_64-apple-darwin/stage2/bin/rustc -g --target=x86_64-apple-darwin  -o x86_64-apple-darwin/stage2/lib/rustc/x86_64-apple-darwin/bin/rustc ../src/comp/rustc.rc\r\n\r\nreal\t1m50.058s\r\nuser\t1m49.456s\r\nsys\t0m1.125s\r\n```\r\n\r\nRequires the llvm patch that's sitting in brson's repository to allow rustc to finish building.","commits":21,"number":1331,"additions":930,"url":"https://api.github.com/repos/graydon/rust/pulls/1331","_links":{"review_comments":{"href":"https://api.github.com/repos/graydon/rust/pulls/1331/comments"},"html":{"href":"https://github.com/graydon/rust/pull/1331"},"self":{"href":"https://api.github.com/repos/graydon/rust/pulls/1331"},"comments":{"href":"https://api.github.com/repos/graydon/rust/issues/1331/comments"}},"merged_by":{"id":144427,"login":"marijnh","url":"https://api.github.com/users/marijnh","avatar_url":"https://secure.gravatar.com/avatar/f6a35c85d26694e26bb92ea4d4262c77?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f6a35c85d26694e26bb92ea4d4262c77"},"diff_url":"https://github.com/graydon/rust/pull/1331.diff","comments":2,"head":{"user":{"id":27658,"login":"jdm","url":"https://api.github.com/users/jdm","avatar_url":"https://secure.gravatar.com/avatar/b13611d1950fd03a3e1d44195fa6f532?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b13611d1950fd03a3e1d44195fa6f532"},"ref":"dwarf","sha":"6637340c2860344bacd1554fc025f3d90c80a602","repo":{"open_issues":0,"created_at":"2011-06-07T08:50:34Z","watchers":1,"git_url":"git://github.com/jdm/rust.git","updated_at":"2011-12-19T08:43:13Z","fork":true,"id":1858971,"language":"Rust","html_url":"https://github.com/jdm/rust","name":"rust","description":"A work-in-progress programming language; not yet suitable for users","master_branch":null,"forks":0,"url":"https://api.github.com/repos/jdm/rust","ssh_url":"git@github.com:jdm/rust.git","clone_url":"https://github.com/jdm/rust.git","pushed_at":"2011-12-19T08:43:13Z","owner":{"id":27658,"login":"jdm","url":"https://api.github.com/users/jdm","avatar_url":"https://secure.gravatar.com/avatar/b13611d1950fd03a3e1d44195fa6f532?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b13611d1950fd03a3e1d44195fa6f532"},"homepage":"","size":296,"svn_url":"https://svn.github.com/jdm/rust","private":false},"label":"jdm:dwarf"},"changed_files":13,"merged":true},"number":1331,"action":"closed"}