简体   繁体   English

GDB和优胜美地的问题

[英]issues with GDB and Yosemite

after attempting to install gdb on my mac with yosemite (10.10.1) via instructions from here. 通过此处的说明尝试在我的Mac上使用优胜美地(10.10.1)安装gdb之后

I am getting the below error. 我收到以下错误。 I codeigned it with no issues, but when I go to run Eclipse and debug I get this error: 我对其进行了代码初始化,但是当我运行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))

not sure what to do from here. 不知道从这里做什么。 I would greatly appreciate any help. 我将不胜感激任何帮助。

您必须对其进行代码签名。在Google上搜索代码签名gdb ...仍然会给您带来其他错误,因为gdb的最新版本是在2014年10月发布优胜美地之前。真!!

我改用gdb-apple,它可在优胜美地上使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM