This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: status of Darwin support
On Tue, Aug 11, 2009 at 10:38 AM, Paul Pluzhnikov<ppluzhnikov@google.com> 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