This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add --enable-codesign to gdb's configure
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Thu, 28 Jun 2018 12:20:51 -0700
- Subject: Re: [RFA] Add --enable-codesign to gdb's configure
- References: <20180628163745.12716-1-tom@tromey.com> <83zhzeoja4.fsf@gnu.org>
Hi Eli,
> OK for the NEWS part, but I think we should reflect this option in the
> output of "gdb --configure", because users will want to know whether
> their GDB was configured that way.
The new option actually influences the build, not whether GDB provides
a given feature or not.
On MacOS X, GDB needs to be codesigned in order to be allowed debug
privileges. What Tom's configuration option does is that it automates
that during the build so that it gets automatically done each time
the user types "make". Users who do not use the new option already
achieve the same effect by running the codesign command by hand
each time after running "make".
If a user wants to know whether his binary has been codesigned or
not, and if yes, using which certificate, he can also use the codesign
command.
http://osxdaily.com/2016/03/14/verify-code-sign-apps-mac-os-x/
--
Joel