This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Slow handling of C++ symbol names
- From: Michael Snyder <msnyder at redhat dot com>
- To: Will Cohen <wcohen at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 19 Nov 2003 18:05:46 -0800
- Subject: Re: Slow handling of C++ symbol names
- Organization: Red Hat, Inc.
- References: <3FBBDC27.50204@redhat.com>
Will Cohen wrote:
When debugging some C++ program with gdb (both versions 5.3 and 6.0) it
takes a long time to load the debugging information and get a
command-line prompt. The particular example that demonstrates this
problem is monotone (http://www.venge.net/monotone/) which makes use of
the boost libraries (http://www.boost.org/). gdb loading monotone with
the associated debugging information takes over 30 seconds to get the
initial command-line prompt on a 1.7GHz Athlon with 512MB or DRAM.
30 seconds! Why, you young whipper-snapper... I remember when you
used to have to go get a cup of coffee while gdb loaded symbols! ;-)
Hell, sometimes you could go out and *buy* the coffee...