From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3230 invoked by alias); 11 Aug 2009 17:38:39 -0000 Received: (qmail 3218 invoked by uid 22791); 11 Aug 2009 17:38:39 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Aug 2009 17:38:31 +0000 Received: from wpaz5.hot.corp.google.com (wpaz5.hot.corp.google.com [172.24.198.69]) by smtp-out.google.com with ESMTP id n7BHcRrp023643 for ; Tue, 11 Aug 2009 18:38:28 +0100 Received: from qw-out-1920.google.com (qwf5.prod.google.com [10.241.194.69]) by wpaz5.hot.corp.google.com with ESMTP id n7BHcOc8027856 for ; Tue, 11 Aug 2009 10:38:25 -0700 Received: by qw-out-1920.google.com with SMTP id 5so1347105qwf.50 for ; Tue, 11 Aug 2009 10:38:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.6.148 with SMTP id 20mr4363110qaz.203.1250012304658; Tue, 11 Aug 2009 10:38:24 -0700 (PDT) In-Reply-To: <4A81A984.7090101@Sun.COM> References: <4A5F8D9E.1060307@Sun.COM> <4A7FFAB3.7080903@Sun.COM> <8ac60eac0908101320k6cc20e9age92656cba254a5d4@mail.gmail.com> <4A812B8B.8040202@Sun.COM> <8ac60eac0908110933s6caf5abdsa1320f626dea860b@mail.gmail.com> <4A819F90.40006@Sun.COM> <4A81A102.5020104@Sun.COM> <8ac60eac0908111012o163f62d6n672f6928bdedab7e@mail.gmail.com> <4A81A984.7090101@Sun.COM> Date: Tue, 11 Aug 2009 17:38:00 -0000 Message-ID: <8ac60eac0908111038k1304f9dai73d23718d0ec1431@mail.gmail.com> Subject: Re: status of Darwin support From: Paul Pluzhnikov To: Christian Thalinger Cc: Tom Tromey , Tristan Gingold , Joel Brobecker , Thiago Jung Bauermann , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00074.txt.bz2 On Tue, Aug 11, 2009 at 10:25 AM, Christian Thalinger wrote: > (gdb) p sect2->objfile->section_offsets[0]@17 > $5 = {{offsets = {7106}}, {offsets = {0}} , { > 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