You can build the gdb executable manually on OS X 10.11.<p>First, run this if you haven&#x27;t already installed the Command Line Tools for Xcode:<p><pre><code>  xcode-select --install
</code></pre>
Then run these commands:<p><pre><code>  curl -o gdb-7.11.tar.xz https:&#x2F;&#x2F;ftp.gnu.org&#x2F;gnu&#x2F;gdb&#x2F;gdb-7.11.tar.xz
  tar zxf gdb-7.11.tar.xz
  cd gdb-7.11
  .&#x2F;configure
  make
  make install
</code></pre>
This should place the executable at &#x2F;usr&#x2F;local&#x2F;bin&#x2F;gdb. The final step is to codesign it. Instructions: <a href="http:&#x2F;&#x2F;sourceware.org&#x2F;gdb&#x2F;wiki&#x2F;BuildingOnDarwin" rel="nofollow">http:&#x2F;&#x2F;sourceware.org&#x2F;gdb&#x2F;wiki&#x2F;BuildingOnDarwin</a>