开发者

Shouldn't Xcode/gdb load the ~/.gdbinit file on launch?

I have a ~/.gdb开发者_如何转开发init file which is loosely based on 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?


Xcode possibly invokes gdb as gdb -nx ....

There probably is some setting somewhere in Xcode to change that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜