From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11120 invoked by alias); 20 Nov 2003 02:05:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 11113 invoked from network); 20 Nov 2003 02:05:50 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 20 Nov 2003 02:05:50 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id hAK25lH04063 for ; Wed, 19 Nov 2003 21:05:48 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id hAK25ka25455; Wed, 19 Nov 2003 21:05:47 -0500 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id hAK25kH27342; Wed, 19 Nov 2003 18:05:46 -0800 Message-ID: <3FBC217A.40105@redhat.com> Date: Thu, 20 Nov 2003 02:05:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Will Cohen CC: gdb-patches@sources.redhat.com Subject: Re: Slow handling of C++ symbol names References: <3FBBDC27.50204@redhat.com> In-Reply-To: <3FBBDC27.50204@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-11/txt/msg00416.txt.bz2 Will Cohen wrote: > When debugging some C++ program with gdb (both versions 5.3 and 6.0) it > takes a long time to load the debugging information and get a > command-line prompt. The particular example that demonstrates this > problem is monotone (http://www.venge.net/monotone/) which makes use of > the boost libraries (http://www.boost.org/). gdb loading monotone with > the associated debugging information takes over 30 seconds to get the > initial command-line prompt on a 1.7GHz Athlon with 512MB or DRAM. 30 seconds! Why, you young whipper-snapper... I remember when you used to have to go get a cup of coffee while gdb loaded symbols! ;-) Hell, sometimes you could go out and *buy* the coffee...