简体   繁体   中英

issues with GDB and Yosemite

after attempting to install gdb on my mac with yosemite (10.10.1) via instructions from here.

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:

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,它可在优胜美地上使用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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