"Timo Teräs" <[email protected]> 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 >[email protected] >http://lists.busybox.net/mailman/listinfo/uclibc
Hi, I will take care of this proper. Thanks! _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
