PermissionsDarwin wiki fix

Galder Zamarreno galder@redhat.com
Thu Jan 23 14:50:00 GMT 2020


I'm encountering that exact same issue now :(


On Thu, Jan 23, 2020 at 3:42 PM Willgerodt, Felix <
felix.willgerodt@intel.com> wrote:

> 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
>



More information about the Gdb mailing list