This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: slow script execution when debugging large binaries
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb at sourceware dot org, jzhang918 at gmail dot com
- Date: Thu, 10 Aug 2006 16:40:27 -0400
- Subject: Re: slow script execution when debugging large binaries
- References: <200608101633.08373.vapier@gentoo.org>
On Thu, Aug 10, 2006 at 04:33:07PM -0400, Mike Frysinger wrote:
> i'm playing with kgdb and in the process have been learning/writing up little
> code snippets to make debugging easier ... for example, a small function that
> will dump the dmesg buffer in kgdb ... now, the issue at hand isnt kgdb :)
Could you build a GDB which includes profiling data (I think it's
--enable-profile, check gdb/configure.ac) and then use
maint set profile to generate a profile data file for this?
It'll tell you where the problem is - probably something is doing
unnecessary symbol lookup.
--
Daniel Jacobowitz
CodeSourcery