From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3159 invoked by alias); 28 Jun 2018 19:20:57 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 3140 invoked by uid 89); 28 Jun 2018 19:20:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=his X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Jun 2018 19:20:55 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 2716D5615E; Thu, 28 Jun 2018 15:20:54 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ritGyu+MMzOq; Thu, 28 Jun 2018 15:20:54 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id DB83B5615B; Thu, 28 Jun 2018 15:20:53 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id E9FC68793F; Thu, 28 Jun 2018 12:20:51 -0700 (PDT) Date: Thu, 28 Jun 2018 19:20:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA] Add --enable-codesign to gdb's configure Message-ID: <20180628192051.GD2511@adacore.com> References: <20180628163745.12716-1-tom@tromey.com> <83zhzeoja4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83zhzeoja4.fsf@gnu.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-SW-Source: 2018-06/txt/msg00700.txt.bz2 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