From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10414 invoked by alias); 12 Aug 2015 13:53:32 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 10404 invoked by uid 89); 12 Aug 2015 13:53:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: smtp1.ugent.be Received: from smtp1.ugent.be (HELO smtp1.ugent.be) (157.193.71.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 12 Aug 2015 13:53:30 +0000 Received: from localhost (mcheck2.ugent.be [157.193.49.249]) by smtp1.ugent.be (Postfix) with ESMTP id 702188336 for ; Wed, 12 Aug 2015 15:53:28 +0200 (CEST) Received: from smtp1.ugent.be ([IPv6:::ffff:157.193.71.182]) by localhost (mcheck2.UGent.be [::ffff:157.193.43.11]) (amavisd-new, port 10024) with ESMTP id W8j5GKwGK5AM for ; Wed, 12 Aug 2015 15:53:27 +0200 (CEST) Received: from mail.elis.ugent.be (mail.elis.UGent.be [157.193.206.48]) by smtp1.ugent.be (Postfix) with ESMTP id 61C2E8321 for ; Wed, 12 Aug 2015 15:53:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.elis.ugent.be (Postfix) with ESMTP id 51109918F16 for ; Wed, 12 Aug 2015 15:53:27 +0200 (CEST) Received: from mail.elis.ugent.be ([127.0.0.1]) by localhost (mail.elis.ugent.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3HErA2OlQcL7 for ; Wed, 12 Aug 2015 15:53:27 +0200 (CEST) Received: by mail.elis.ugent.be (Postfix, from userid 48) id 30F12918F17; Wed, 12 Aug 2015 15:53:27 +0200 (CEST) Received: from twinpeaks.elis.UGent.be (twinpeaks.elis.UGent.be [157.193.205.105]) by mail.elis.ugent.be (Horde Framework) with HTTP; Wed, 12 Aug 2015 15:53:27 +0200 Date: Wed, 12 Aug 2015 13:53:00 -0000 Message-ID: <20150812155327.Horde.J5pTYkisJlFVy0-XHAMRMSA@mail.elis.ugent.be> From: Jonas Maebe To: gdb@sourceware.org Subject: Re: GDB on Mac OS References: <1739A299-ACE9-4D7F-A1DF-E64C89ECC8D1@dell.com> <20150812031208.GJ22225@adacore.com> <95D02D49-26D2-454E-8E11-70EBF7CB5EC5@dell.com> In-Reply-To: <95D02D49-26D2-454E-8E11-70EBF7CB5EC5@dell.com> User-Agent: Internet Messaging Program (IMP) H4 (5.0.23) Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-j-chkmail-Enveloppe: 55CB4FD7.004 from mail.elis.UGent.be/mail.elis.UGent.be/157.193.206.48/mail.elis.ugent.be/ X-j-chkmail-Score: MSGID : 55CB4FD7.004 on smtp1.ugent.be : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00018.txt.bz2 Paul_Koning wrote on Wed, 12 Aug 2015: > On Aug 11, 2015, at 11:12 PM, Joel Brobecker wrote: > >> - for actual debugging of a live inferior, the debugger needs >> to be codesigned - try with a simple example first to see >> if you can run a program and break somewhere. > > So is that the reason why so many tests fail? I know of the > codesigning requirement from actually using the debugger (or rather, > answering the prompt for my password, which is the alternative). It's not the alternative, both are required. You won't even get to the password prompt without a codesigned binary. > Where would I look for information on how to do this? https://sourceware.org/gdb/wiki/BuildingOnDarwin In particular also note the addendum regarding taskgated: you also have to add the -p option to that LaunchDaemon plist and reboot before gdb will work for non-root users on OS X 10.9 and 10.10. Jonas