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


On Fri, Feb 20, 2004 at 01:07:46PM -0500, Andrew Cagney wrote:
> Even if we start out with on-demand, it should work better.  Given:
> 
> 	$ gdb foo
> 	(gdb) break main
> 	(gdb) run
> 
> why is GDB loading glibc's symbols?

Main might be a function defined in a shared library.  Even if we found
a definition in the executable, it might be a PLT loading slot.  KDE
on i386 will demonstrate this exact behavior.

IOW, I don't think there is anything we can do without loading symbols
as soon as objects are available.

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