* sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
config/sparc/tm-sparclite.h: Initialize tm_print_insn from
TM_PRINT_INSN, which comes from the tm file.
* Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
* configure configure.in: Only make sol-thread.o for native.
Also, switch to dlopened libthread_db.so.1.
* sol-thread.c: Switch to using dlopen to get the thread_db
library.
* configure, configure.in: Change test for libthread_db to only
work for configs where build/host/target are the same.