How to install gdb on OSX 10.9

前端 未结 1 1575
执笔经年
执笔经年 2021-02-13 05:09

How to install gdb on OSX 10.9?

I try to use macports:

port install gdb
Password:
...
--->  Updating database of binaries: 100.0%
--->  Scanning bi         


        
1条回答
  •  说谎
    说谎 (楼主)
    2021-02-13 05:17

    I made it this way (described here):

    1. sudo nano /System/Library/LaunchDaemons/com.apple.taskgated.plist

      change option string from -s to -sp at line 22, col 27.

    2. reboot the computer.

    3. Use gdb

    0 讨论(0)
提交回复
热议问题