I understand it is not golang issue. It is an old debugger on my
system which came with Xcode. I wanted to know can I simply install a
new version of gdb with out messing with Xcode settings?
I ran into this a while back http://tinyurl.com/5vxljc7 and had
similar concerns.
You don't have to install gdb to run it. Just build it, copy the
executable wherever you want it, then run it with an absolute path (I
kept the destination folder out of my search path).
- $ mkdir $HOME/gdb
- after gdb finishes building $ cp gdb/gdb $HOME/gdb/gdb
- then from the go executable's folder $ $HOME/gdb/gdb 6.out
Once I figured out the newer version wouldn't cause a problem I
installed it in /usr/bin
-joe
Yes I also use absolute path of gdb 7.3.1 default gdb still points to
old xcode ones.