This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: gdb performance is impossible!!
- To: Guenther Grau <Guenther.Grau@bosch.com>
- Subject: Re: gdb performance is impossible!!
- From: Srikanth <srikanth@cup.hp.com>
- Date: Tue, 07 Sep 1999 10:17:06 -0700
- CC: Jake Colman <colman@ppllc.com>, gdb@sourceware.cygnus.com
- Organization: California Language Lab
- References: <76hfl6olbx.fsf@ppllc.com> <37D53D52.FE49F75F@bosch.com>
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.