From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22170 invoked by alias); 11 Aug 2009 16:43:16 -0000 Received: (qmail 22161 invoked by uid 22791); 11 Aug 2009 16:43:16 -0000 X-SWARE-Spam-Status: No, hits=-1.4 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 16:43:09 +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 n7BGh5Je007131 for ; Tue, 11 Aug 2009 16:43:05 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 <0KO800F000UIMA00@fe-emea-09.sun.com> for gdb@sourceware.org; Tue, 11 Aug 2009 17:43:00 +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 <0KO800B4A13LUPC0@fe-emea-09.sun.com>; Tue, 11 Aug 2009 17:42:59 +0100 (BST) Date: Tue, 11 Aug 2009 16:43:00 -0000 From: Christian Thalinger Subject: Re: status of Darwin support In-reply-to: <8ac60eac0908110933s6caf5abdsa1320f626dea860b@mail.gmail.com> To: Paul Pluzhnikov Cc: Tom Tromey , Tristan Gingold , Joel Brobecker , Thiago Jung Bauermann , gdb@sourceware.org Message-id: <4A819F90.40006@Sun.COM> References: <4A5F8D9E.1060307@Sun.COM> <200908041804.30240.thiago.bauermann@gmail.com> <20090805044504.GJ4370@adacore.com> <4A7ABAF0.7010004@Sun.COM> <4A7FFAB3.7080903@Sun.COM> <8ac60eac0908101320k6cc20e9age92656cba254a5d4@mail.gmail.com> <4A812B8B.8040202@Sun.COM> <8ac60eac0908110933s6caf5abdsa1320f626dea860b@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/msg00069.txt.bz2 Paul Pluzhnikov wrote: >> (gdb) r >> Starting program: >> /Users/twisti/bsd-port/hotspot/build/bsd/bsd_i486_compiler2/jvmg/gamma > > I assume these are from debug prints of (section addr? or endaddr?) you've > added? They look like possibly non-relocated section addresses. Yes, the same values as the assert compares. > Could you run gdb under /usr/bin/gdb, like this: > > /usr/bin/gdb --args ./gdb -nx > /Users/twisti/bsd-port/hotspot/build/bsd/bsd_i486_compiler2/jvmg/gamma > (top-gdb) break error > (top-gdb) run > (gdb) run I tried that before, but then I get the: Unable to find Mach task port for process-id 90603: (os/kern) failure (0x5). (please check gdb is setgid procmod) again. I just tried to run it as root, then it runs but the break does not work. I'm confused... -- Christian