|
|
|
|
|
|
|
Re: GDB under High Sierra - no joy! [message #1795568 is a reply to message #1793946] |
Tue, 25 September 2018 11:25   |
Avarro mickllov Messages: 2 Registered: September 2018 |
Junior Member |
|
|
in my case downgrading to 8.0.1 didn't help.
but the following steps helped.
(i inserted step 12, "check if it works" because, instead of restarting i've tested gdb and it worked just fine. i didn't follow the steps 12+)
Open Keychain Access
In menu, open Keychain Access > Certificate Assistant > Create a certificate
Give it a name (e.g. gdb-cert)
Identity type: Self Signed Root
Certificate type: Code Signing
Check: let me override defaults
Continue until "specify a location for..."
Set Keychain location to System
Create certificate and close Certificate Assistant.
Find certificate in System keychain.
Double click the certificate
Expand Trust, set Code signing to always trust
Restart taskgated in terminal: killall taskgated
Codesign gdb using your certificate: codesign -fs gdb-cert /usr/local/bin/gdb FetLife IMVU Canva
--- CHECK IF IT WORKS ---
Shut down your mac and restart in recovery mode (hold down command-Runtil apple logo appears)
Open terminal window
Modify System Integrity Protection to allow debugging: csrutil enable --without debug
Reboot your Mac
Debugging with gdb should now work as expected.
[Updated on: Wed, 26 September 2018 17:48] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03995 seconds