macOS 10.13 reports "please check gdb is codesigned - see taskgated(8)"

chunming_xu chunming_xu@qq.com
Sun Sep 16 08:14:00 GMT 2018


hi,I install gdb8.0 on macOS10.13.5.But when I use gdb to debug cpp, gdb reports the error like this :
 
Unable to find Mach task port for process-id 3965: (os/kern) failure (0x5).

 

(please check gdb is codesigned - see taskgated(8))




Then I do these steps as the html of

https://sourceware.org/gdb/wiki/BuildingOnDarwin#Troubleshooting_code-signing.




And Troubleshooting code-signing, all is done. But gdb still reports the same error.



I hope very much I can get your help.
Thanks a lot.


More information about the Gdb mailing list