This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb very slow during 'step into'
Daniel Jacobowitz <drow@false.org> writes:
> On Wed, Jan 03, 2007 at 03:37:53PM -0800, Jim Blandy wrote:
>> Is /lib/ld-linux.so.2 normally installed stripped on your system? If
>> GDB can't find the address of the 'fixup' function, then it can't do
>> anything but single-step through the dynamic linker as it looks up the
>> symbol, which is where we're guessing you're spending your time.
>
> Yes, generally ld.so is installed stripped on Debian.
Hmm. That kind of scuttles that strategy for skipping the resolver
quickly, then, doesn't it. Unless someone has a better idea, I guess
setting LD_BIND_NOW is the best solution.