This is the mail archive of the
mailing list for the GDB project.
RE: gdb on macOS 10.12 "Sierra"
It looks like Apple has increased security. We have got it to work with a workaround.
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 terminal and issue the command:
$ csrutil enable --without debug
Reboot the system and the debug session will be able to proceed.
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Tristan Gingold
Sent: Tuesday, October 4, 2016 12:43 PM
To: Jonas Maebe <email@example.com>
Subject: Re: gdb on macOS 10.12 "Sierra"
> On 01 Oct 2016, at 14:08, Jonas Maebe <firstname.lastname@example.org> wrote:
> Has anyone succeeded yet in getting gdb to work on macOS 10.12? Reportedly, it works when you disable SIP (which is understandable, given https://developer.apple.com/library/content/documentation/Security/Conceptual/System_Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html ), but 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 ?
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