public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable
@ 2006-05-24 20:19 drow at sources dot redhat dot com
  2006-05-24 20:28 ` [Bug nptl/2696] " roland at gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: drow at sources dot redhat dot com @ 2006-05-24 20:19 UTC (permalink / raw)
  To: glibc-bugs

In short, there is no way to either enable libthread_db at _start time for a
static binary, or find the appropriate time to initialize it later.  I propose
allowing it to initialize, and then reporting the "creation" of the first thread
once the pthreads library is initialized.

The patch is here:

  http://sourceware.org/ml/libc-alpha/2006-03/msg00014.html

Without a fix for this problem, GDB can not debug static executables which use NPTL.

-- 
           Summary: NPTL libthread_db misbehaves at startup of a static
                    executable
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: drow at sources dot redhat dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2696

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-06-27 15:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
2006-05-24 20:28 ` [Bug nptl/2696] " roland at gnu dot org
2006-05-24 20:28 ` roland at gnu dot org
2006-06-14 16:25 ` web-sources dot redhat dot com at jankratochvil dot net
2006-10-25 15:03 ` drow at sources dot redhat dot com
2006-10-25 16:03 ` r dot schwebel at pengutronix dot de
2006-10-25 16:03 ` mkl at pengutronix dot de
2006-10-25 18:55 ` roland at gnu dot org
2007-06-27 15:50 ` drow at sources dot redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).