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: Under Linux/Glibc, GDB read DT_DEBUG from gdbserver too early?


Doug Evans <dje@google.com> 写于 2009-09-15 23:04:34:
> 
> gdb 6.6 is pretty old, I'm not sure how much support you can get.
> 
> Are you doing something wrong?  I'm not sure but I think the answer is
> "not necessarily".
> 
> On amd64-linux, gdb (cvs head, and I'm guessing 6.8) will actually
> read .dynamic multiple times during program start up, before the
> dynamic linker has run.  Eventually the dynamic linker runs, and gdb
> gets the desired info.

gdb 6.6 works similar. But I didn't know from where dynamic linker begins
to run, i.e. after gdb doing foo, dynamic linker begins to run

> 
> The only thing I can suggest (sorry!) is to dig deeper.

Digging :-)

Thank you anyway,

don

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