From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10148 invoked by alias); 20 Aug 2009 16:42:36 -0000 Received: (qmail 10140 invoked by uid 22791); 20 Aug 2009 16:42:35 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from gmp-eb-inf-2.sun.com (HELO gmp-eb-inf-2.sun.com) (192.18.6.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Aug 2009 16:42:30 +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-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7KGgPLZ004177 for ; Thu, 20 Aug 2009 16:42:25 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.04 64bit (built Jul 2 2009)) id <0KOO00M00OPY6P00@fe-emea-09.sun.com> for gdb-patches@sourceware.org; Thu, 20 Aug 2009 17:42:09 +0100 (BST) Received: from [10.0.0.3] ([unknown] [88.117.80.201]) by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0KOO006FQP298W90@fe-emea-09.sun.com>; Thu, 20 Aug 2009 17:42:09 +0100 (BST) Date: Thu, 20 Aug 2009 17:01:00 -0000 From: Christian Thalinger Subject: Re: [patch] Fix Darwin breakage In-reply-to: <8ac60eac0908180842q296b902fh38d01b89dcf54af3@mail.gmail.com> To: Paul Pluzhnikov Cc: gdb-patches ml Message-id: <4A8D7CE0.9030009@Sun.COM> References: <8ac60eac0908140922m57367e9dn464783d8ff625474@mail.gmail.com> <4A8A95E0.7090409@Sun.COM> <8ac60eac0908180842q296b902fh38d01b89dcf54af3@mail.gmail.com> User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00320.txt.bz2 Paul Pluzhnikov wrote: > On Tue, Aug 18, 2009 at 4:52 AM, Christian > Thalinger wrote: > >> I tried that patch and it kind of works. But running a program takes >> ages (about 5-10 minutes), with GDB using 100% CPU time. > > Could you attach another instance of GDB to the one that consumes 100% > CPU and see where the CPU-bound GDB is? (Or use dtrace to get ustack > histogram :-) Yeah, I should do that. > >> The backtrace looks fine, but arguments and local variables are not >> visible. Loaded shared libraries look OK: > > Steps to reproduce? > Could you make a tar of /Users/twisti/bsd-port/hotspot/build/ available? The problem is the size of the stuff you need: $ du -sc build/bsd/bsd_i486_compiler2/ build/bsd/jdk-bsd-i586/ 562996 build/bsd/bsd_i486_compiler2/ 745016 build/bsd/jdk-bsd-i586/ 1308012 total I should try something smaller... -- Christian