From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45832 invoked by alias); 4 Oct 2016 13:47:10 -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 45814 invoked by uid 89); 4 Oct 2016 13:47:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=fred, U*gdb, sk:gdbsou, gdb@sourceware.org X-HELO: mga09.intel.com Received: from mga09.intel.com (HELO mga09.intel.com) (134.134.136.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 04 Oct 2016 13:46:58 +0000 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 04 Oct 2016 06:46:56 -0700 X-ExtLoop1: 1 Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by FMSMGA003.fm.intel.com with ESMTP; 04 Oct 2016 06:46:54 -0700 Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by IRSMSX152.ger.corp.intel.com (163.33.192.66) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 4 Oct 2016 14:46:52 +0100 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.19]) by irsmsx111.ger.corp.intel.com ([169.254.2.67]) with mapi id 14.03.0248.002; Tue, 4 Oct 2016 14:46:52 +0100 From: "Tedeschi, Walfred" To: Tristan Gingold , Jonas Maebe CC: "gdb@sourceware.org" Subject: RE: gdb on macOS 10.12 "Sierra" Date: Tue, 04 Oct 2016 13:47:00 -0000 Message-ID: References: <20161001140850.Horde.5Pxfey2wqn5X76dSpncV3uA@mail.elis.ugent.be> In-Reply-To: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00009.txt.bz2 Hello All, It looks like Apple has increased security. We have got it to work with a w= orkaround. In case the signature is not from Apple the System Integrity protection has= to be changed. In this case reboot the machine enter in the recovery mode, start a termina= l and issue the command: $ csrutil enable --without debug Reboot the system and the debug session will be able to proceed. Cheers, /Fred -----Original Message----- From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf = Of Tristan Gingold Sent: Tuesday, October 4, 2016 12:43 PM To: Jonas Maebe Cc: gdb@sourceware.org Subject: Re: gdb on macOS 10.12 "Sierra" > On 01 Oct 2016, at 14:08, Jonas Maebe wrote: >=20 > Hi, >=20 > Has anyone succeeded yet in getting gdb to work on macOS 10.12? Reportedl= y, it works when you disable SIP (which is understandable, given https://de= veloper.apple.com/library/content/documentation/Security/Conceptual/System_= Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html ), bu= t plain code signing no longer seems to cut it. No, I haven't tried yet. Did you investigate if lldb has updated its build= instructions ? Tristan. 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, Christian Lamprechter Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928