From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9123 invoked by alias); 30 Sep 2009 17:42:24 -0000 Received: (qmail 9111 invoked by uid 22791); 30 Sep 2009 17:42:23 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Sep 2009 17:42:19 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id n8UHgFhu003040 for ; Wed, 30 Sep 2009 18:42:15 +0100 Received: from gxk1 (gxk1.prod.google.com [10.202.11.1]) by wpaz24.hot.corp.google.com with ESMTP id n8UHgCbJ030749 for ; Wed, 30 Sep 2009 10:42:12 -0700 Received: by gxk1 with SMTP id 1so5516779gxk.19 for ; Wed, 30 Sep 2009 10:42:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.177.36 with SMTP id e36mr125794anp.22.1254332532471; Wed, 30 Sep 2009 10:42:12 -0700 (PDT) In-Reply-To: <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> <20090930173104.GA7773@bromo.med.uc.edu> Date: Wed, 30 Sep 2009 17:42:00 -0000 Message-ID: <8ac60eac0909301042j566e5f32n7268e7b006b40c32@mail.gmail.com> Subject: Re: [gdb-7.0] One week to the gdb-7.0 release! From: Paul Pluzhnikov To: Jack Howarth Cc: Joel Brobecker , Anirban Sinha , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true 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/msg00339.txt.bz2 On Wed, Sep 30, 2009 at 10:31 AM, Jack Howarth wrote: > I assume 10.5.8 and Snow Leopard share the same problem. I used to > see the error... Quite possible. I don't have Snow Leopard, so I don't know what happens there. > Unable to find Mach task port for process-id 39624: (os/kern) failure (0x5). > (please check gdb is setgid procmod) Yes, that is exactly the error I see on Leopard (unless I run gdb as root). > 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? I don't normally do any development on MacOS -- I only got dragged into it because my patch broke it :-( I have not tested the latest trunk, nor 7.0 branch, after I've "fixed" the find_pc_section breakage. I will try trunk tonight, just to confirm that I can replicate what you see (and maybe fix it if I manage to understand what's happening). > 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. Why would you think that? The kernel denies GDB access to debug port; I don't see what this would have to do with Xcode. Cheers, -- Paul Pluzhnikov