开发者

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

开发者 https://www.devze.com 2023-01-20 16:47 出处:网络
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 l

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

精彩评论

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