uclibc pthreads debugging troubles with recent tools

Mike Frysinger vapier at gentoo.org
Wed Jul 5 10:03:16 UTC 2006


On Monday 03 July 2006 09:38, Peter S. Mazinger wrote:
> On Fri, 30 Jun 2006, Clem Taylor wrote:
> > On 6/30/06, Erik Andersen <andersen at codepoet.org> wrote:
> > > On Fri Jun 30, 2006 at 04:31:36PM -0400, Clem Taylor wrote:
> > > > It looks like gdb doesn't fully realize that it is debugging a
> > > > threaded app,
> > >
> > > did you happen to strip libthread_db?  If so, that is
> > > almost certainly the cause of your grief.
>
> When I rewrote the makefiles about a year ago I have asked about this and
> the answer was:
> If pthread debugging is enabled, libpthread.so should not be stripped but
> libthread_db.so can be stripped (the current makefiles do exactly this,
> libthread_db.so is not stripped only if DODEBUG is enabled)

libthread_db.so should never be stripped as there is no point ... it's only 
used at debug time, never at runtime, so stripping it gains nothing
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060705/077476d5/attachment-0002.pgp 


More information about the uClibc mailing list