gdb terminated with signal ?, unknown signal

后端 未结 4 762
被撕碎了的回忆
被撕碎了的回忆 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条回答
  •  隐瞒了意图╮
    2020-12-31 16:26

    This worked for me, if you are still looking for a solution:

    • Restart youre machine in the recovery mode, open a terminal and enter the following

      $ csrutil enable --without debug

      Reboot the machine and gdb should work as usual (full thread in here: http://sourceware-org.1504.n7.nabble.com/gdb-on-macOS-10-12-quot-Sierra-quot-td415708.html#a415940)

提交回复
热议问题