News for hackers. Stuff that matters.
Re:GDB 7.11 released by fjarlq on Wednesday February 24, 2016 @11:10AM (#11167774)
You can build the gdb executable manually on OS X 10.11.

First, run this if you haven't already installed the Command Line Tools for Xcode:

  xcode-select --install
Then run these commands:

  curl -o gdb-7.11.tar.xz https://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz
  tar zxf gdb-7.11.tar.xz
  cd gdb-7.11
  ./configure
  make
  make install
This should place the executable at /usr/local/bin/gdb. The final step is to codesign it. Instructions: http://sourceware.org/gdb/wiki/BuildingOnDarwin
Re:GDB 7.11 released by rurban on Wednesday February 24, 2016 @01:18PM (#11168877)
`tar xfJ gdb-7.11.tar.xz` for .xz files
Re:GDB 7.11 released by fjarlq on Wednesday February 24, 2016 @02:09PM (#11169294)
Good point. GNU tar requires using the correct option, -J, when extracting an xz-compressed tarball.

But OS X tar is bsdtar, which ignores -z and -J when extracting because it automatically recognizes compression and does the right thing. So it turns out both our suggestions happen to work on OS X.

Re:GDB 7.11 released by fs111 on Wednesday February 24, 2016 @05:58PM (#11170935)
nonsense, gnu tar unpacks anything with tar xf <file> just fine.
Re:GDB 7.11 released by fjarlq on Thursday February 25, 2016 @01:41PM (#11176625)
Oh, good point, I wasn't aware that GNU tar also supported automatic compression recognition. I should have tested it. Thanks!
Re:GDB 7.11 released by sysrpl on Wednesday February 24, 2016 @01:06PM (#11168786)
More on code signing gdb here: http://www.getlazarus.org/setup/macintosh/