This is the mail archive of the
mailing list for the GDB project.
Re: [ANNOUNCEMENT] GDB 7.0 release process created
On Sun, Sep 20, 2009 at 10:36 AM, Jack Howarth <email@example.com> wrote:
> (gdb) r
> Starting program: /Users/howarth/a.out
> Unable to find Mach task port for process-id 154: (os/kern) failure (0x5).
> ?(please check gdb is setgid procmod)
> 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):
On Sun, Sep 20, 2009 at 10:39 AM, Joel Brobecker <firstname.lastname@example.org> wrote:
> % 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) 184.108.40.20690920-cvs
Reading symbols from /Users/ppluzhnikov/gdb-cvs/build/t...(no
debugging symbols found)...done.
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)