Re: gdb very slow during 'step into'

Jim Blandy
2007-01-02T19:48:19Z

Daniel Jacobowitz <drow@false.org> writes:
> On Tue, Jan 02, 2007 at 11:30:16AM -0800, Jim Blandy wrote:
>> If you set the environment variable LD_BIND_NOW to a non-empty value
>> before running your program (use GDB's 'set env' command), does that
>> eliminate the slow steps?
>
> Is this where we step through the dynamic linker? We really should
> avoid that...

I'm pretty sure we set a breakpoint at the function's true entry point
(since we know it too), and wait for that to hit. I believe I made
that change myself years ago. But maybe something broke.