From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23871 invoked by alias); 11 Aug 2009 16:48:12 -0000 Received: (qmail 23856 invoked by uid 22791); 11 Aug 2009 16:48:08 -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.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Aug 2009 16:48:02 +0000 Received: from spaceape7.eur.corp.google.com (spaceape7.eur.corp.google.com [172.28.16.141]) by smtp-out.google.com with ESMTP id n7BGlxPA027483 for ; Tue, 11 Aug 2009 09:48:00 -0700 Received: from qyk27 (qyk27.prod.google.com [10.241.83.155]) by spaceape7.eur.corp.google.com with ESMTP id n7BGkwMW020489 for ; Tue, 11 Aug 2009 09:47:57 -0700 Received: by qyk27 with SMTP id 27so3406815qyk.17 for ; Tue, 11 Aug 2009 09:47:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.6.148 with SMTP id 20mr4327555qaz.203.1250009276954; Tue, 11 Aug 2009 09:47:56 -0700 (PDT) In-Reply-To: <4A819F90.40006@Sun.COM> References: <4A5F8D9E.1060307@Sun.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> <4A819F90.40006@Sun.COM> Date: Tue, 11 Aug 2009 16:48:00 -0000 Message-ID: <8ac60eac0908110947j63f73869oc85e800712247b4e@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: quoted-printable 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/msg00070.txt.bz2 On Tue, Aug 11, 2009 at 9:42 AM, Christian Thalinger wrote: >> /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 (0x= 5). > (please check gdb is setgid procmod) Ah, that makes sense: the inferior GDB can't be suid. > again. =A0I just tried to run it as root, then it runs but the break does > not work. =A0I'm confused... But (eventually) you should get to SIGABRT, which is just as good a place to execute prints. Do you? Thanks, --=20 Paul Pluzhnikov