Hi, I met a lot of people that have trouble with GDB multithread debug just because their libpthread.so is stripped. So I make a patch to output a warning when the libpthread.so is stripped. 2009-02-11 Hui Zhu * linux-thread-db.c (LIBPTHREAD_SO): New macro for the name of libpthread. (check_for_thread_db): Add a argument "objfile". If td_ta_new_p return TD_NOLIBTHREAD and "objfile->obfd->filename" include LIBPTHREAD_SO, output a warning. (thread_db_new_objfile): Add a argument "objfile" to "check_for_thread_db". * linux-nat.h (check_for_thread_db): Ditto. * linux-nat.c (linux_child_post_attach): Ditto. (linux_child_post_startup_inferior): Ditto. (linux_child_follow_fork): Ditto. OK to in? Thanks, Hui