gdb terminated with signal ?, unknown signal

后端 未结 4 795
被撕碎了的回忆
被撕碎了的回忆 2020-12-31 15:35

I\'m just trying to debug code with gdb on Mac OSX Version 10.12 but always getting this unknown error when launching my program in gdb.

I codesigned the gdb after i

4条回答
  •  -上瘾入骨i
    2020-12-31 16:30

    Solution for Mac OS X 10.12.5 and newer

    Create a .gdbinit file in your home-direcetory and write "set startup-with-shell off" in it.

    File can be created using vi ~/.gdbinit.

    Open a new terminal and gdb will work.

提交回复
热议问题