From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 455 invoked by alias); 2 May 2004 23:11:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 444 invoked from network); 2 May 2004 23:11:56 -0000 Received: from unknown (HELO mailhost.calypto.com) (66.17.65.87) by sources.redhat.com with SMTP; 2 May 2004 23:11:56 -0000 Received: from rio (rio.calypto.com [192.168.100.120]) by mailhost.calypto.com (8.11.6/8.11.6) with ESMTP id i42NBt704062 for ; Sun, 2 May 2004 16:11:56 -0700 From: Nick Savoiu To: gdb@sources.redhat.com Subject: Re: Improving GDB startup time with large programs Date: Sun, 02 May 2004 23:11:00 -0000 User-Agent: KMail/1.6.2 References: <20040502224944.847584B104@berman.michael-chastain.com> In-Reply-To: <20040502224944.847584B104@berman.michael-chastain.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405021611.04597.savoiu@ics.uci.edu> X-SW-Source: 2004-05/txt/msg00014.txt.bz2 Hi Michael, Thanks for the quick reply. > Which version of gdb are you using? I'm currently using 6.1 to which I have just upgraded. However, it seems about 15% slower at startup than 6.0 despite my expectations that it would be faster. > What platform are you running on? I'm running on RedHat 8.0. > Is it native or cross? If it's cross, what is the target platform? It's a native debugger. > What language is your program written in? 95% C++ > What compiler and debug options are you using on your program? I'm using g++ 3.2 with '-Wall -Wno-unused -g' > The answer is probably 'file a PR with lots of information about what > you are doing, and then do some profiling on gdb to help us out, and > then maybe the next release of gdb will be faster'. How do I profile gdb? Nick