This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI: performance of getting stack arguments


> From: Vladimir Prus <ghost@cs.msu.su>
> 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...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]