RE: gdb on macOS 10.12 "Sierra"
"Tedeschi, Walfred" <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <AC542571535E904D8E8ADAE745D60B1951329111@IRSMSX104.ger.corp.intel.com> |
Hello All, 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. Cheers, /Fred -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tristan Gingold Sent: Tuesday, October 4, 2016 12:43 PM To: Jonas Maebe <[email protected]> Cc: [email protected] Subject: Re: gdb on macOS 10.12 "Sierra" > On 01 Oct 2016, at 14:08, Jonas Maebe <[email protected]> wrote: > > Hi, > > 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 ? 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