From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14695 invoked by alias); 23 Jan 2020 14:50:38 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 14627 invoked by uid 89); 23 Jan 2020 14:50:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=H*i:sk:f09de4e, H*f:sk:f09de4e, H*c:alternative, tel X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (207.211.31.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 Jan 2020 14:50:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579791033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HytvUIJjyhJnutmBZXJQ//ucarWJelZRRQu0eQ0O7LY=; b=ilykriLHfvQPYcl24RGfSkxsPRWD3LV28N7Hk2reWLoZHBXSjDcPO6ji6u+/QePz0vyC/5 2F1woOvFs9JYALE2g+Eb1fZWBvZImeemAsja08T12211x644RVnLZItG781pmh2QCsRoBp 40QPDE8XVNBbAj8X48ZsSIfqF4K9GO4= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-289-wGSnxjvGPCuKLVppBplh4w-1; Thu, 23 Jan 2020 09:50:30 -0500 Received: by mail-ed1-f69.google.com with SMTP id cy24so2349172edb.12 for ; Thu, 23 Jan 2020 06:50:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Galder Zamarreno Date: Thu, 23 Jan 2020 14:50:00 -0000 Message-ID: Subject: Re: PermissionsDarwin wiki fix To: "Willgerodt, Felix" Cc: "gdb@sourceware.org" X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2020-01/txt/msg00047.txt.bz2 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=3D24069 > * > https://apple.stackexchange.com/questions/377934/mysterious-gdb-hangs-aft= er-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 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 >