nptl_db not working

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Dec 31 14:32:54 UTC 2010


"Timo Teräs" <timo.teras at iki.fi> wrote:

>Hi all,
>
>I was trying to debug a multithreaded program in uclibc, but ntpl_db
>was
>not working at all.
>
>I hunted down the problem the fact that we are doing "strip -x" to the
>libpthread: it removes all non-global symbols.
>
>However, nptl_db inspects the local system, and uses them to verify
>libpthread (looks for static/local "nptl_version" symbol) and also to
>hook into libpthread (it uses certain local symbols to find libpthread
>event structures and modifies them). Thus gdb + uclibc nptl is broke.
>
>I'm not sure how to modify makefiles so that we do *not* do "strip -x"
>on libpthread, but this should be fixed. I removed the "-x" on global
>STRIP_FLAGS from Rules.mak, recompiled and then gdb was much more
>happier with ntpl_db.
>
>Cheers,
>  Timo
>_______________________________________________
>uClibc mailing list
>uClibc at uclibc.org
>http://lists.busybox.net/mailman/listinfo/uclibc

Hi,

I will take care of this proper. Thanks!


More information about the uClibc mailing list