How do I load .gdbinit on gdb startup?

后端 未结 5 1047
花落未央
花落未央 2021-01-12 12:16

This is a seemly trivial question but I can\'t find a simple way to accomplish this.

I have my .gdbinit file defined in the same directory as where gdb.

5条回答
  •  粉色の甜心
    2021-01-12 12:34

    I have my .gdbinit file defined in the same directory as where gdb.exe exist

    Put into your $HOME or into current directory.

提交回复
热议问题