This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: status of Darwin support


Paul Pluzhnikov wrote:
> On Mon, Aug 10, 2009 at 11:59 PM, Tristan Gingold<gingold@adacore.com> wrote:
> 
>>> 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
>> IIRC root/wheel doesn't work.  You need setgid procmod only.
> 
> As I said, I did try that; no dice:
> 
> ls -l ../gdb
> -rwxr-sr-x  1 ppluzhnikov  procmod  4075816 Aug 10 20:21 ../gdb
> 
> ../gdb -ex run ../a.out
> ...
> Unable to find Mach task port for process-id 98439: (os/kern) failure (0x5).
>  (please check gdb is setgid procmod)

Hmm, it works for me:

$ ls -l ./gdb
-rwxr-sr-x  1 twisti  procmod  4070952 Aug 10 22:24 ./gdb*

-- Christian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]