Create a certificate for GDB under Mac empower it to debug other applications

Source: Internet
Author: User

1 Creating a certificate with/applications/utilities/keychain Access.app

Create a certificate from Keychain Access, certificate Assistant

Give the certificate an essay name, the identity type "self-signed root certificate", the certificate Type "code signature", check "Let me overwrite ...".

OK, go to "Specify a location for this certificate" and select "System". Created, and then succeeded.

2 Set the change certificate to "always Trust"

Select "System", "My Certificate", locate the certificate you just had, and select "Always Trust".

3 Using a change certificate to sign GdB

codesign-s [Name of certificate] [GDB's full path name]

Reboot the system. GDB can debug other applications as usual.

Create a certificate for GDB under Mac empower it to debug other applications

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.