On Mon, Aug 10, 2009 at 1:20 PM, Paul Pluzhnikov<ppluzhnikov@google.com
> wrote:
I will try to reproduce the Darwin failure, but I won't get to my Mac
until later tonight.
I couldn't get GDB to even run the program:
../gdb ../a.out
GNU gdb (GDB) 6.8.50.20090811-cvs
...
(gdb) r
Starting program: /Users/ppluzhnikov/gdb-cvs/build/gdb/a.out
Unable to find Mach task port for process-id 98005: (os/kern)
failure (0x5).
(please check gdb is setgid procmod)
(gdb) q
This even if I make GDB suid-root (I also tried setgid procmod):
ls -l ../gdb
-rwsr-sr-x 1 root wheel 4075816 Aug 10 20:21 ../gdb