Remove unused libthread_db td_thr_validate reference
authorGary Benson <gbenson@redhat.com>
Mon, 23 May 2016 12:26:47 +0000 (13:26 +0100)
committerGary Benson <gbenson@redhat.com>
Mon, 23 May 2016 12:26:47 +0000 (13:26 +0100)
commitd0571b9934241e58a5325fc6e09298d0e3396280
tree350c75779db21368e3f55e6fe5d82f78c7c1c778
parentb43b853577ed4fb6cc19b1faa17e8fbea3c58be7
Remove unused libthread_db td_thr_validate reference

Native GDB looks up the function td_thr_validate from libthread_db.so
on Linux, but the value is never used.  This commit removes this dead
code.

gdb/ChangeLog:

* nat/gdb_thread_db.h (td_thr_validate_ftype): Remove typedef.
* linux-thread-db.c (struct thread_db_info) <td_thr_validate_p>:
Remove field.
(try_thread_db_load_1): Remove td_thr_validate initialization.
gdb/ChangeLog
gdb/linux-thread-db.c
gdb/nat/gdb_thread_db.h