This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: speeding up time to hit first breakpoint
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Noel Grandin <noelgrandin at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 3 Oct 2016 13:16:28 +0200
- Subject: Re: speeding up time to hit first breakpoint
- Authentication-results: sourceware.org; auth=none
- References: <cd1690e2-6915-d275-cb8f-48036ee167ae@gmail.com>
On Mon, 03 Oct 2016 12:04:27 +0200, Noel Grandin wrote:
> I took a trace with 'perf record -g', which I'm enclosing. It looks like the
> bulk of the time is spent in xrealloc.
GDB unspecific but you can significantly improve the times by linking GDB
with: -ltcmalloc
Jan