From: "Willgerodt, Felix" <felix.willgerodt@intel.com>
To: Galder Zamarreno <galder@redhat.com>,
"gdb@sourceware.org" <gdb@sourceware.org>
Subject: RE: PermissionsDarwin wiki fix
Date: Thu, 23 Jan 2020 14:41:00 -0000 [thread overview]
Message-ID: <f09de4e295124ba6b95fdc0c59f4d87f@intel.com> (raw)
In-Reply-To: <CAAcPREvx_caajB-aN5gjz8BNDe8pY0pXFraHHLPf4a5dcxGgOg@mail.gmail.com>
A bit off-topic:
Are you actually able to debug anything on 10.15 with SIP enabled?
I was not able to debug anything the last time I checked, even with the correct signature and entitlements. And I don't seem to be the only one:
* https://sourceware.org/bugzilla/show_bug.cgi?id=24069
* https://apple.stackexchange.com/questions/377934/mysterious-gdb-hangs-after-clean-build
I have done some digging a couple of months ago (https://sourceware.org/ml/gdb/2019-09/msg00004.html), but didn't have the time to investigate further.
Thanks,
Felix
-----Original Message-----
From: gdb-owner@sourceware.org <gdb-owner@sourceware.org> On Behalf Of Galder Zamarreno
Sent: Thursday, January 23, 2020 3:22 PM
To: gdb@sourceware.org
Subject: PermissionsDarwin wiki fix
Hi,
Information is missing in https://sourceware.org/gdb/wiki/PermissionsDarwin
On macOS 10.15, when you create the certificate, the default alias is set
to your email address. This needs to be set to gdb-cert too. This is
implicit in the `security find-certificate -c gdb-cert` output but is not
specified.
Without that, when you get to the `codesign --entitlements
gdb-entitlement.xml -fs gdb-cert $(which gdb)` stage, you get:
error: The specified item could not be found in the keychain.
Can someone update the wiki?
Thanks
Galder
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
next prev parent reply other threads:[~2020-01-23 14:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-23 14:22 Galder Zamarreno
2020-01-23 14:41 ` Willgerodt, Felix [this message]
2020-01-23 14:50 ` Galder Zamarreno
2020-01-23 19:44 ` Simon Marchi
2020-01-24 10:12 ` Joel Brobecker
2020-05-29 13:56 ` Galder Zamarreno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f09de4e295124ba6b95fdc0c59f4d87f@intel.com \
--to=felix.willgerodt@intel.com \
--cc=galder@redhat.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).