main docs: http://golang.org/doc/gdb
brew install homebrew/dupes/gdb
code sign gdb: https://sourceware.org/gdb/wiki/BuildingOnDarwin
passing args to programs in gdb: http://stackoverflow.com/questions/4521015/passing-arguments-to-program-run-through-gdb
r(un) args
breakpoints in subpackages: http://stackoverflow.com/questions/19378021/cant-set-breakpoint-in-gdb-with-golang-due-to-error-no-source-file-named-model
go build -gcflags "-N -l"