GDB support for thread-local storage
Jim Blandy
jimb@redhat.com
Wed Jun 26 21:57:00 GMT 2002
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.)
More information about the Gdb
mailing list