From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9223 invoked by alias); 12 Aug 2009 16:26:50 -0000 Received: (qmail 9128 invoked by uid 22791); 12 Aug 2009 16:26:49 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,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, 12 Aug 2009 16:26:38 +0000 Received: from wpaz33.hot.corp.google.com (wpaz33.hot.corp.google.com [172.24.198.97]) by smtp-out.google.com with ESMTP id n7CGQXZs028669 for ; Wed, 12 Aug 2009 17:26:34 +0100 Received: from rv-out-0506.google.com (rvbf9.prod.google.com [10.140.82.9]) by wpaz33.hot.corp.google.com with ESMTP id n7CGQ1a3003820 for ; Wed, 12 Aug 2009 09:26:31 -0700 Received: by rv-out-0506.google.com with SMTP id f9so32991rvb.39 for ; Wed, 12 Aug 2009 09:26:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.140.2 with SMTP id n2mr125845rvd.36.1250094391167; Wed, 12 Aug 2009 09:26:31 -0700 (PDT) In-Reply-To: <8ac60eac0908111038k1304f9dai73d23718d0ec1431@mail.gmail.com> References: <4A5F8D9E.1060307@Sun.COM> <8ac60eac0908101320k6cc20e9age92656cba254a5d4@mail.gmail.com> <4A812B8B.8040202@Sun.COM> <8ac60eac0908110933s6caf5abdsa1320f626dea860b@mail.gmail.com> <4A819F90.40006@Sun.COM> <4A81A102.5020104@Sun.COM> <8ac60eac0908111012o163f62d6n672f6928bdedab7e@mail.gmail.com> <4A81A984.7090101@Sun.COM> <8ac60eac0908111038k1304f9dai73d23718d0ec1431@mail.gmail.com> Date: Wed, 12 Aug 2009 16:26:00 -0000 Message-ID: <8ac60eac0908120926lfa0a128qf662267a161d86ca@mail.gmail.com> Subject: Re: status of Darwin support From: Paul Pluzhnikov To: Christian Thalinger Cc: Tom Tromey , Tristan Gingold , Joel Brobecker , Thiago Jung Bauermann , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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-08/txt/msg00085.txt.bz2 On Tue, Aug 11, 2009 at 10:38 AM, Paul Pluzhnikov wrote: > So I'll probably have to find out the differences between GDB in Xcode 2.5 > and 3.0. I suspect there is some magic syscall one has to perform on Leopard. Update: Searching for "macos task_for_pid" led me to http://books.google.com/books?id=H47LLszkhPQC&pg=PA297&lpg=PA297&dq=macos+task_for_pid&source=bl&ots=c3byoP5Xsg&sig=Mis8Sr-opekOlj8QIUp_j7yvk50&hl=en&ei=QFmCSu2ALsuLtgeA0azHCg&sa=X&oi=book_result&ct=result&resnum=9#v=onepage&q=&f=false which explains why 'chgrp procmod gdb && chmod g+s gdb' is no longer necessary, nor sufficient. [I find it astonishing that even armed with above answer I can't find the same answer on apple.com (so I could cut/paste it).] I *am* in the "admin" group, but not in "procmod" group. I can't figure out how to add myself to "procmod" either :-( But no matter: I can run the gdb-cvs as root, and I do see the assert when I do "./gdb ./gdb". I'll try to debug this tonight. Thanks, -- Paul Pluzhnikov