Re: MI: performance of getting stack arguments

Eli Zaretskii
2006-04-19T09:02:52Z

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