Slow handling of C++ symbol names

Michael Snyder msnyder@redhat.com
Thu Nov 20 02:05:00 GMT 2003


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





More information about the Gdb-patches mailing list