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 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?

It's 10.5.8:

$ uname -a
Darwin macbook 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01
PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

but it also worked on 10.5.7.  The only thing that pops into my mind is
that my user is also an admin...

-- Christian


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