From: "Tedeschi, Walfred" <walfred.tedeschi@intel.com>
To: Tristan Gingold <gingold@adacore.com>,
Jonas Maebe <jonas-devlists@watlock.be>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: RE: gdb on macOS 10.12 "Sierra"
Date: Tue, 04 Oct 2016 13:47:00 -0000 [thread overview]
Message-ID: <AC542571535E904D8E8ADAE745D60B1951329111@IRSMSX104.ger.corp.intel.com> (raw)
In-Reply-To: <D32EFDB6-C491-450A-940C-0F5EBA205AE3@adacore.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: 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 <jonas-devlists@watlock.be>
Cc: gdb@sourceware.org
Subject: Re: gdb on macOS 10.12 "Sierra"
> On 01 Oct 2016, at 14:08, Jonas Maebe <jonas-devlists@watlock.be> 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
next prev parent reply other threads:[~2016-10-04 13:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-01 12:08 Jonas Maebe
2016-10-04 11:42 ` Tristan Gingold
2016-10-04 13:47 ` Tedeschi, Walfred [this message]
2016-10-31 11:54 ` Jonas Maebe
2016-10-31 12:00 ` Jack Howarth
2016-10-31 12:11 ` Jonas Maebe
2016-10-31 23:24 ` Jason Molenda
2016-11-03 16:00 ` Tristan Gingold
2016-10-31 23:14 C Western
2016-11-03 22:05 David Jenkins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AC542571535E904D8E8ADAE745D60B1951329111@IRSMSX104.ger.corp.intel.com \
--to=walfred.tedeschi@intel.com \
--cc=gdb@sourceware.org \
--cc=gingold@adacore.com \
--cc=jonas-devlists@watlock.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox