From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28865 invoked by alias); 30 Sep 2009 17:31:13 -0000 Received: (qmail 28839 invoked by uid 22791); 30 Sep 2009 17:31:11 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from bromo.med.uc.edu (HELO bromo.med.uc.edu) (129.137.3.146) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 30 Sep 2009 17:31:07 +0000 Received: from bromo.med.uc.edu (localhost.localdomain [127.0.0.1]) by bromo.med.uc.edu (Postfix) with ESMTP id 073DBB2D53; Wed, 30 Sep 2009 13:31:05 -0400 (EDT) Received: (from howarth@localhost) by bromo.med.uc.edu (8.14.3/8.14.3/Submit) id n8UHV4xa007786; Wed, 30 Sep 2009 13:31:04 -0400 Date: Wed, 30 Sep 2009 17:31:00 -0000 From: Jack Howarth To: Paul Pluzhnikov Cc: Joel Brobecker , Anirban Sinha , gdb@sourceware.org Subject: Re: [gdb-7.0] One week to the gdb-7.0 release! Message-ID: <20090930173104.GA7773@bromo.med.uc.edu> References: <20090923220907.GA5150@adacore.com> <20090930001332.GA5072@adacore.com> <20090930162038.GA7190@bromo.med.uc.edu> <20090930162949.GI5072@adacore.com> <8ac60eac0909301008w1fb60f61p6cfaba6cb5fb48a6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <8ac60eac0909301008w1fb60f61p6cfaba6cb5fb48a6@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 X-SW-Source: 2009-09/txt/msg00337.txt.bz2 On Wed, Sep 30, 2009 at 10:08:41AM -0700, Paul Pluzhnikov wrote: > On Wed, Sep 30, 2009 at 9:29 AM, Joel Brobecker w= rote: >=20 > > I believe that you are using Snow Leopard whereas things to be OK > > on Leopard.=A0The problem on Snow Leopard seems to be coming from > > the fact that the method for giving GDB the priviledges it needs > > in order to debug the program have changed. =A0AdaCore is planning on > > looking at that, eventually, but we just won't have the resources > > to do so for at least a few weeks. >=20 > Clarification: the "new method" (code signing?) is required on newer > (latest?) releases of Leopard as well: I have *not* upgraded to Snow Leop= ard, > but I still see the problem. >=20 > --=20 > Paul Pluzhnikov Paul, I assume 10.5.8 and Snow Leopard share the same problem. I used to see the error... Unable to find Mach task port for process-id 39624: (os/kern) failure (0x5). (please check gdb is setgid procmod) Now in gdb trunk, with the proposed darwin patch, I don't even get that far. When passing an executable to gdb, it complains that the binary isn't a valid executable. Is that what you are seeing under 10.5.8?=20 Jack ps Actually I would have thought this issue requiring signing of gdb would have been coupled more to a new Xcode release than to a new Mac OS X release.