You would need to compile glibc without stripping the debug symbols - there is an example here:
http://tinycorelinux.net/6.x/armv6/tcz/src/glibc/
Note that you can find the glibc shource at:
http://ftp.gnu.org/gnu/glibc/
http://tinycorelinux.net/6.x/armv6/tcz/src/glibc/
Note that you can find the glibc shource at:
http://ftp.gnu.org/gnu/glibc/