This is the mail archive of the gdb@sourceware.org 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: gdb very slow during 'step into'


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]