This is the mail archive of the gdb@sources.redhat.com 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 support for thread-local storage


Andrew Cagney <ac131313@ges.redhat.com> writes:
> > Doesn't libthread_db read `struct _pthread_descr_struct' from the
> > linuxthreads library in the inferior, rather than knowing the layout
> > itself?  So it's actually the inferior's linuxthreads library that
> > describes its own structures' layout.
> 
> The structure layout will have been compiled into libthread-db.a.  It
> implicitly knows the layout itself.

I think you're wrong here.  Could you show me the code?

(Not that the question is especially relevant to the discussion --- of
course it could do a simple checksum check.)


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