I have a ~/.gdbinit file which is loosely based on http://stackoverflow.com/questions/1237830/how-do-i-set-these-break-points-in-gdbinit. Allegedly, gdb is supposed to source ~/.gdbinit when it launches. However, it's not loading mine - I have to stop at an existing breakpoint and type in 'source ~/.gdbinit', and then it loads it. Is there a way to have gdb or Xcode do this automatically?
A:
Xcode possibly invokes gdb as gdb -nx ...
.
There probably is some setting somewhere in Xcode to change that.
Employed Russian
2010-10-19 22:59:35