This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: slow script execution when debugging large binaries
On Thu, Aug 10, 2006 at 05:48:18PM -0400, Mike Frysinger wrote:
> attached the output of `gprof` on both runs
> slow:
> (gdb) maintanence set profile
> (gdb) file vmlinux
> (gdb) speed-test
> (gdb) quit
If you want useful profiles, I recommend not profiling "file".
We already know that's slow :-)
But at a guess, you'll still have a symbol lookup on top of the profile.
--
Daniel Jacobowitz
CodeSourcery