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:25 AM, Christian
Thalinger<Christian.Thalinger@sun.com> wrote:
> (gdb) p sect2->objfile->section_offsets[0]@17
> $5 = {{offsets = {7106}}, {offsets = {0}} <repeats 11 times>, {
> offsets = {4294940264}}, {offsets = {4294944662}}, {offsets =
> {4294944325}}, {offsets = {0}}, {offsets = {0}}}
Hmm, not all zeros ...
It would have helped me a lot if I know what values are expected here :-(
I think I'll have to get gdb-cvs working before I can debug this some more.
Searching google for the "Unable to find Mach task port for process-id"
shows several threads like this:
http://lists.apple.com/archives/Xcode-users/2007/Dec/msg00777.html
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.
BTW, what OS are you on?
Thanks,
--
Paul Pluzhnikov