MacOs Sierra 配置gdb调试
2020-10-06 本文已影响0人
襄襄的热饮
1 如何安装gdb在Mac Os Sierra
https://stackoverflow.com/questions/41966073/how-to-install-gdb-on-macos-terminal-sierra
2 一个gdb调试的例子
https://www.cprogramming.com/gdb.html
3
它会提示
Unable to find Mach task port for process-id xxxx: (os/kern) failure (0x5).
需要这么做
https://juejin.im/entry/6844903556328194062