summaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2016-05-23 13:26:47 +0100
committerGary Benson <gbenson@redhat.com>2016-05-23 13:26:47 +0100
commitd0571b9934241e58a5325fc6e09298d0e3396280 (patch)
tree350c75779db21368e3f55e6fe5d82f78c7c1c778 /gdb/nat
parentb43b853577ed4fb6cc19b1faa17e8fbea3c58be7 (diff)
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.
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/gdb_thread_db.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/nat/gdb_thread_db.h b/gdb/nat/gdb_thread_db.h
index 30f7400041..99407b0cd2 100644
--- a/gdb/nat/gdb_thread_db.h
+++ b/gdb/nat/gdb_thread_db.h
@@ -57,7 +57,6 @@ typedef td_err_e (td_ta_clear_event_ftype) (const td_thragent_t *ta,
typedef td_err_e (td_ta_event_getmsg_ftype) (const td_thragent_t *ta,
td_event_msg_t *msg);
-typedef td_err_e (td_thr_validate_ftype) (const td_thrhandle_t *th);
typedef td_err_e (td_thr_get_info_ftype) (const td_thrhandle_t *th,
td_thrinfo_t *infop);
typedef td_err_e (td_thr_event_enable_ftype) (const td_thrhandle_t *th,