我按照以下步骤安装了gdb:
brew install homebrew/dupes/gdb
然而,当我在gdb中尝试run
时,我得到:
...
(gdb) run
Starting program: /Users/snowch/tmp/myc/main
/bin/bash: /Users/snowch/tmp/myc/main: Permission denied
/bin/bash: line 0: exec: /Users/snowch/tmp/myc/main: cannot execute: Undefined error: 0
During startup program exited with code 126.
我尝试重新安装gdb并使用新证书创建和签名。仍然没有快乐。
有什么想法吗?