Some of the fancy features Go adds to GDB require GDB >= 7.1. You can check which version you have with gdb -v
. If it's high enough, skip to the next section. If not, do the following:
-
Follow these instructions: http://www.opensource.apple.com/source/lldb/lldb-69/docs/code-signing.txt. The name doesn't matter really, but
gdb_codesign
is as good a choice as any. -
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/gdb.rb
.