【问题标题】:issues with GDB and YosemiteGDB 和 Yosemite 的问题
【发布时间】:2015-03-04 07:28:28
【问题描述】:

通过here. 的说明尝试在我的 Mac 上使用 yosemite (10.10.1) 安装 gdb 之后

我收到以下错误。我对它进行了代码设计,没有任何问题,但是当我运行 Eclipse 并调试时,我得到了这个错误:

Error in final launch sequence Failed to execute MI command: -exec-run Error message from debugger back end: Unable to find Mach task port for process-id 544: (os/kern) failure (0x5).\n (please check gdb is codesigned - see taskgated(8)) Unable to find Mach task port for process-id 544: (os/kern) failure (0x5).\n (please check gdb is codesigned - see taskgated(8))

不知道从这里做什么。我将不胜感激任何帮助。

【问题讨论】:

    标签: c eclipse macos gdb osx-yosemite


    【解决方案1】:

    您必须对其进行代码签名.. 在google上搜索代码签名gdb... 它仍然会给你其他错误,因为 gdb 的最后一次修订是在 2014 年 10 月在优胜美地推出之前制作的。 真的很蛋疼!!

    【讨论】:

      【解决方案2】:

      我改用 gdb-apple,它适用于 Yosemite。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2013-07-03
        • 2015-11-28
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多