This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: info threads
Michael Snyder <msnyder at specifix.com> writes:
> On Mon, 2007-12-03 at 13:29 -0800, Brian Budge wrote:
>> Thanks for the pointer. This was on Gentoo Linux, and libpthread was
>> indeed stripped. I recompiled glibc with FEATURES="nostrip", and
>> everything works great.
>
> You might let the Gentoo folks know that gdb thread debugging
> will not work if they ship that library stripped.
Just a thought: stripping doesn't remove the dynamic symbol table.
I think GDB reads both the dynamic and static ELF symbol tables.
If we could get the symbols libpthread_db needs into libpthread's
dynamic symbol table, would that prevent stripping from breaking
thread debugging?