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

"chunming_xu" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.