This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: NPTL libthread_db changes for static debugging


On Tue, Jun 26, 2007 at 10:31:11AM -0700, Roland McGrath wrote:
> > It's actually not that general.  It delays thread debugging
> > initialization until it sees a non-zero ti_tid.
> 
> Ok.  That is nonetheless pretty safe and stable, and compatible with
> anything libthread_db is likely ever to do.

FYI, the patch breaks gdbserver.  It uses zero as an error return
value from one lookup function, and decides that it can not find the
main thread before TLS is initialized.  The patched gdbserver works
with both glibc versions.

Patch now merged for GDB.

-- 
Daniel Jacobowitz
CodeSourcery


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