To make sure something isn't stripped use:
FEATURES="nostrip" emerge foo
(make sure you have debug in your USE flags as well). You might find
you have to re-emerge glibc with FEATURES="nostrip" as well, check the
output of
file /usr/lib/libthread_db.so
and make sure it (or whatever it points to) is not stripped.
Peter.