From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30452 invoked by alias); 11 Aug 2009 17:25:55 -0000 Received: (qmail 30411 invoked by uid 22791); 11 Aug 2009 17:25:54 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from gmp-eb-inf-1.sun.com (HELO gmp-eb-inf-1.sun.com) (192.18.6.21) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Aug 2009 17:25:48 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged)) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7BHPjQb010045 for ; Tue, 11 Aug 2009 17:25:45 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <0KO800A002UIC100@fe-emea-09.sun.com> for gdb@sourceware.org; Tue, 11 Aug 2009 18:25:26 +0100 (BST) Received: from [10.0.0.3] ([unknown] [129.150.124.141]) by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <0KO80080R32DI5B0@fe-emea-09.sun.com>; Tue, 11 Aug 2009 18:25:26 +0100 (BST) Date: Tue, 11 Aug 2009 17:25:00 -0000 From: Christian Thalinger Subject: Re: status of Darwin support In-reply-to: <8ac60eac0908111012o163f62d6n672f6928bdedab7e@mail.gmail.com> To: Paul Pluzhnikov Cc: Tom Tromey , Tristan Gingold , Joel Brobecker , Thiago Jung Bauermann , gdb@sourceware.org Message-id: <4A81A984.7090101@Sun.COM> References: <4A5F8D9E.1060307@Sun.COM> <4A7ABAF0.7010004@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> User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) 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/msg00073.txt.bz2 Paul Pluzhnikov wrote: > On Tue, Aug 11, 2009 at 9:49 AM, Christian > Thalinger wrote: > >> I was able to attach to the process. Here is the data: > ... >> (gdb) p *sect2->objfile >> $4 = { >> name = 0x63e590 "/Users/twisti/bsd-port/hotspot/build/bsd/bsd_i486_compiler2/jvmg/launcher.o", > > This is possibly unrelocated objfile. What does > > print sect2->objfile->section_offsets[0]@17 > > say? (gdb) p sect2->objfile->section_offsets[0]@17 $5 = {{ offsets = {7106} }, { offsets = {0} } , { offsets = {4294940264} }, { offsets = {4294944662} }, { offsets = {4294944325} }, { offsets = {0} }, { offsets = {0} }} -- Christian