From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9342 invoked by alias); 19 Apr 2006 09:02:52 -0000 Received: (qmail 9326 invoked by uid 22791); 19 Apr 2006 09:02:51 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Apr 2006 09:02:49 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-206-41.inter.net.il [80.230.206.41]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DZT67621 (AUTH halo1); Wed, 19 Apr 2006 12:02:43 +0300 (IDT) Date: Wed, 19 Apr 2006 16:13:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus CC: gdb@sources.redhat.com In-reply-to: <200604191020.08044.ghost@cs.msu.su> (message from Vladimir Prus on Wed, 19 Apr 2006 10:20:07 +0400) Subject: Re: MI: performance of getting stack arguments Reply-to: Eli Zaretskii References: <20060418161654.GA15524@nevyn.them.org> <200604191020.08044.ghost@cs.msu.su> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00263.txt.bz2 > From: Vladimir Prus > Date: Wed, 19 Apr 2006 10:20:07 +0400 > Cc: gdb@sources.redhat.com > > > If it's the arguments, > > we may be able to improve it. Maybe build a debuggable GDB and "maint > > set profile"? > > Sure. What's the right way to build debuggable GDB, setting CFLAGS=-g during > configure or something else? You need to configure with --enable-profiling, and then build as usual. (This is explained in the manual, right next to where "maint set profile" is described.) Of course, don't strip the GDB binary, or the profiles will be very dull...