Skip to content

Instantly share code, notes, and snippets.

@alswl
Created June 21, 2019 02:33
Show Gist options
  • Save alswl/569205b89f04d1bc516c7b88a535e58e to your computer and use it in GitHub Desktop.
Save alswl/569205b89f04d1bc516c7b88a535e58e to your computer and use it in GitHub Desktop.
macOS codesign
codesign --entitlements gdb-entitlement.xml -fs gdbc /usr/local/Cellar/cgdb/0.7.0_1/bin/cgdb
codesign --entitlements gdb-entitlement.xml -fs gdbc /usr/local/Cellar/gdb/8.3/bin/gdb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.debugger</key>
<true/>
</dict>
</plist>
</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment