From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17683 invoked by alias); 20 Sep 2009 18:37:16 -0000 Received: (qmail 17673 invoked by uid 22791); 20 Sep 2009 18:37:16 -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.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 20 Sep 2009 18:37:12 +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 n8KIbAog004034 for ; Sun, 20 Sep 2009 11:37:10 -0700 Received: from an-out-0708.google.com (andd14.prod.google.com [10.100.30.14]) by wpaz24.hot.corp.google.com with ESMTP id n8KIb7cb026141 for ; Sun, 20 Sep 2009 11:37:08 -0700 Received: by an-out-0708.google.com with SMTP id d14so1126734and.3 for ; Sun, 20 Sep 2009 11:37:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.60.1 with SMTP id i1mr3564132ana.11.1253471827527; Sun, 20 Sep 2009 11:37:07 -0700 (PDT) In-Reply-To: <20090920173607.GA18628@bromo.med.uc.edu> References: <20090920025432.GA22104@bromo.med.uc.edu> <8ac60eac0909192050g256a1076r3e28fd0a8cfd7f41@mail.gmail.com> <20090920143231.GQ7961@adacore.com> <8ac60eac0909200802m45f2675epa6e56001af4b491@mail.gmail.com> <20090920152741.GR7961@adacore.com> <8ac60eac0909200914g39a2d471j601aebd995da1d02@mail.gmail.com> <20090920171154.GT7961@adacore.com> <20090920173607.GA18628@bromo.med.uc.edu> Date: Sun, 20 Sep 2009 18:37:00 -0000 Message-ID: <8ac60eac0909201137h3b357f95hc9471ed186575c06@mail.gmail.com> Subject: Re: [ANNOUNCEMENT] GDB 7.0 release process created From: Paul Pluzhnikov To: Jack Howarth Cc: Joel Brobecker , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00250.txt.bz2 On Sun, Sep 20, 2009 at 10:36 AM, Jack Howarth w= rote: > (gdb) r > Starting program: /Users/howarth/a.out > Unable to find Mach task port for process-id 154: (os/kern) failure (0x5). > =A0(please check gdb is setgid procmod) > (gdb) > > So it seems like breakpoints can be set but their is a setgid problem. This is not really related to GDB. Explanation (at least as far as I understand what's happening): http://sourceware.org/ml/gdb/2009-08/msg00085.html On Sun, Sep 20, 2009 at 10:39 AM, Joel Brobecker wr= ote: > % sudo chgrp procmod gdb > % sudo chmod g+s gdb That appears to no longer be sufficient on Mac OS X 10.5.8 (at least it doesn't work for me): $ ls -l gdb/gdb -rwxrwsr-x 1 ppluzhnikov procmod 4416668 Sep 20 10:20 gdb/gdb $ gdb/gdb ./t GNU gdb (GDB) 7.0.50.20090920-cvs ... Reading symbols from /Users/ppluzhnikov/gdb-cvs/build/t...(no debugging symbols found)...done. (gdb) r Starting program: /Users/ppluzhnikov/gdb-cvs/build/t Unable to find Mach task port for process-id 39624: (os/kern) failure (0x5). (please check gdb is setgid procmod) (gdb) q --=20 Paul Pluzhnikov