gdb fails on mountain lion

前端 未结 4 938
不知归路
不知归路 2020-12-08 17:59

I tried to compile a 7.x Version of gdb without any luck. I codesigned the executable(http://sourceware.org/gdb/wiki/BuildingOnDarwin).

With following version there

4条回答
  •  醉酒成梦
    2020-12-08 18:46

    I resolved this issue by following the steps tried here: http://coding.derkeiler.com/Archive/Ada/comp.lang.ada/2012-09/msg00305.html

    Steps

    1. sudo chgrp procmod /usr/local/bin/gdb
    2. sudo chmod g+s /usr/local/bin/gdb
    3. Edit /System/Library/LaunchDaemons/com.apple.taskgated.plist and add +p argument to taskgated process
    4. Force kill taskgated process (it will restart)
    5. Try again

    Other links:

    1. https://blogs.oracle.com/dns/entry/understanding_the_authorization_framework_on

提交回复
热议问题