久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何獲得“編碼"OSX上的gdb?

How to get a quot;codesignedquot; gdb on OSX?(如何獲得“編碼OSX上的gdb?)
本文介紹了如何獲得“編碼"OSX上的gdb?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

因為我需要一個支持 Python 的 gdb,所以我通過

Because I need a Python-enabled gdb, I installed another version via

brew tap homebrew/dupes
brew install gdb

我想在 Eclipse CDT 中使用這個 gdb,我在調試設置中輸入了二進制文件的路徑.但是,啟動調試程序失敗并顯示以下消息:

I want to use this gdb with Eclipse CDT, where I entered the path to the binary in the Debugging settings. However, launching a program for debugging fails with the following message:

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 39847: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
Unable to find Mach task port for process-id 39847: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))

在這種情況下,codesigned"是什么意思?我怎樣才能讓這個 gdb 運行?

What does "codesigned" mean in this context? How can I get this gdbrunning?

推薦答案

看來您需要對可執行文件進行簽名.有關更多信息,請參閱這些鏈接.如果您不打算重新分發該版本的 gdb,您應該能夠擺脫自簽名.

It would seem you need to sign the executable. See these links for more information. You should be able to get away with self signing if you don't plan on redistributing that version of gdb.

https://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html

https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/codesign.1.html

或者,您可以在系統上禁用代碼簽名,盡管這會帶來安全風險.為此,請嘗試在終端中運行 sudo spctl --master-disable.

Alternatively, you could disable code signing on your system, although this presents a security risk. To do so try running sudo spctl --master-disable in the Terminal.

這篇關于如何獲得“編碼"OSX上的gdb?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How do I set the icon for my application in visual studio 2008?(如何在 Visual Studio 2008 中為我的應用程序設置圖標?)
Convert CString to const char*(將 CString 轉換為 const char*)
Remove secure warnings (_CRT_SECURE_NO_WARNINGS) from projects by default in Visual Studio(默認情況下,在 Visual Studio 中從項目中刪除安全警告 (_CRT_SECURE_NO_WARNINGS))
How do I start a new CUDA project in Visual Studio 2008?(如何在 Visual Studio 2008 中啟動新的 CUDA 項目?)
Exporting classes containing `std::` objects (vector, map etc.) from a DLL(從 DLL 導出包含 `std::` 對象(向量、映射等)的類)
What are some reasons a Release build would run differently than a Debug build(發布版本與調試版本的運行方式不同的一些原因是什么)
主站蜘蛛池模板: 国产美女黄色片 | 亚洲第一福利视频 | 欧美天堂一区 | 亚洲社区在线 | 日韩av在线中文字幕 | 日日噜噜噜夜夜爽爽狠狠视频, | www四虎影视 | 欧美高清视频一区 | 中文字幕日韩在线观看 | 免费观看一级黄色录像 | 欧美a在线| 日韩欧美二区 | 狠狠躁夜夜躁人人爽天天高潮 | 国产精品九九 | 久久久免费精品 | 中文字幕成人av | 亚州午夜精品 | 麻豆changesxxx国产| av毛片| 国产一伦一伦一伦 | 中文字幕一区二区不卡 | 男女免费观看在线爽爽爽视频 | 日韩中文在线 | 久久精品一区 | 国产精品视频一二三区 | 亚洲精品乱码久久久久久久久 | 欧美色成人 | 精品国产一区二区三区性色av | 成人在线视 | 欧美激情精品久久久久久变态 | 国产91成人| 久久99精品久久久 | 91精品久久久久久久久99蜜臂 | 成人九区| 午夜精品久久久久久不卡欧美一级 | 久久亚洲一区二区三 | 亚洲国产成人在线观看 | 亚洲一区综合 | 国产色视频网站 | 在线一区二区三区 | 日本在线免费看最新的电影 |