Re: PermissionsDarwin wiki fix
Galder Zamarreno <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAAcPREs489EMepr=yX4XGc9Jyt6mqWvZDAVrqFrtihj4WRy5yw@mail.gmail.com> |
I'm encountering that exact same issue now :( On Thu, Jan 23, 2020 at 3:42 PM Willgerodt, Felix < [email protected]> 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: [email protected] <[email protected]> On Behalf Of > Galder Zamarreno > Sent: Thursday, January 23, 2020 3:22 PM > To: [email protected] > 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 >