gdb performance is impossible!!

Srikanth srikanth@cup.hp.com
Tue Sep 7 10:17:00 GMT 1999


Guenther Grau wrote:
> 
> Jake Colman wrote:
> > So, what should we be looking at as a potential problem?  The application is
> > rather large is linked with about 10 of our own shared libraries - in
> > addition to whatever system libraries might be shared as well.  It uses g++
> > and is compiler with what think are the appropriate gcc flags for shared
> > libraries and debugging.
> >
> > Any help would be greatly appreciated!
> 
> How large is large? Our applications are large ~150 MB on disk
> and it takes quite a while to read all the libs. (And yes, our
> application is mainly c++ as well, so maybe this is a problem?)
> 
>   Guenther

	On the HP WDB, we have seen cases where ~50% of the time is 
spent in demangling the minimal symbols. The quick sort in 
install_minimal_symbols() is also a big ticket item. It would be
nice to defer sorting to just until it is needed and even then
do it on a per objfile basis.

Srikanth.


More information about the Gdb mailing list