This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Huge slowdown since 6.0


Good to know. What has changed to speed up symbol lookup?

			-Kip

On Wed, 18 Feb 2004, Daniel Jacobowitz wrote:

> On Wed, Feb 18, 2004 at 02:44:56PM -0800, Kip Macy wrote:
> > About a year ago our tools person added symbol-caching to our in-house
> > GDB tree. He happened to use an STL map, although there are certainly
> > more C-compliant ways. Prior to this change, developers had to use
> > pointer arithmetic in their macros to avoid repeated lookups or their
> > macros would run too SLOW. Would symbol-caching be something that would
> > make sense for mainline GDB?
>
> Maybe, but a year or two ago symbol lookup was a whole lot slower than
> it is now.  I suspect it would not make a lot of difference.
>
> --
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]