Huge slowdown since 6.0
Daniel Jacobowitz
drow@false.org
Fri Feb 20 18:24:00 GMT 2004
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
More information about the Gdb
mailing list