Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Add --enable-codesign to gdb's configure
Date: Thu, 28 Jun 2018 17:31:00 -0000	[thread overview]
Message-ID: <20180628173002.GA2511@adacore.com> (raw)
In-Reply-To: <20180628163745.12716-1-tom@tromey.com>

Hi Tom,

On Thu, Jun 28, 2018 at 10:37:45AM -0600, Tom Tromey wrote:
> macOS requires that the gdb executable be signed in order to be able
> to successfully use ptrace.  This must be done after each link.
> 
> This patch adds a new --enable-codesign configure option so that this
> step can be automated.
> 
> gdb/ChangeLog
> 2018-06-28  Tom Tromey  <tom@tromey.com>
> 
> 	* NEWS: Mention --enable-codesign.
> 	* silent-rules.mk (ECHO_SIGN): New variable.
> 	* configure.ac: Add --enable-codesign.
> 	* configure: Rebuild.
> 	* Makefile.in (CODESIGN, CODESIGN_CERT): New variables.
> 	(gdb$(EXEEXT)): Optionally invoke codesign.

Good idea! The NEWS portion needs to wait for Eli's feedback.
But the rest looks good to me (the NEWS entry too, FWIW).

Thank you!
-- 
Joel


  reply	other threads:[~2018-06-28 17:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28 16:37 Tom Tromey
2018-06-28 17:31 ` Joel Brobecker [this message]
2018-06-28 18:31 ` Eli Zaretskii
2018-06-28 19:20   ` Joel Brobecker
2018-06-28 21:12     ` Tom Tromey
2018-06-29 22:19       ` Joel Brobecker

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=20180628173002.GA2511@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.com \
    /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