From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8554 invoked by alias); 3 May 2004 15:00:15 -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 8539 invoked from network); 3 May 2004 15:00:13 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 3 May 2004 15:00:13 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i43F0DkI020386 for ; Mon, 3 May 2004 11:00:13 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i43F06v13825; Mon, 3 May 2004 11:00:06 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 90C562B9D; Mon, 3 May 2004 11:00:01 -0400 (EDT) Message-ID: <40965E71.4010003@gnu.org> Date: Mon, 03 May 2004 15:00:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Michael Elizabeth Chastain , savoiu@ics.uci.edu Cc: gdb@sources.redhat.com Subject: Re: Improving GDB startup time with large programs References: <20040503015620.E2CCC4B104@berman.michael-chastain.com> In-Reply-To: <20040503015620.E2CCC4B104@berman.michael-chastain.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-05/txt/msg00020.txt.bz2 >>> How do I profile gdb? > > > When you build gdb, configure as normal. > Then use this command to build: > > make CFLAGS='-pg' Using oprofile is more useful that gprof - it's system wide and less intrusive. Andrew