MI: performance of getting stack arguments

Eli Zaretskii eliz@gnu.org
Wed Apr 19 16:13:00 GMT 2006


> 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...



More information about the Gdb mailing list