Mac对gdb签名

codesign -f -s gdb-cert $(which gdb)

gdb_cert为自己创建的证书名

添加证书信任

activity-monitor双击taskgated 关闭

gdb成功运行

原文地址:https://www.cnblogs.com/fply/p/10070388.html