This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Huge slowdown since 6.0
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