summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/thread-db.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-08-02 16:04:09 +0100
committerYao Qi <yao.qi@linaro.org>2016-08-02 16:04:09 +0100
commit979659d08478172311764b468bfce4960b38760b (patch)
treec6c2a8770909c929a0dd0c8016b3830ac09dc103 /gdb/gdbserver/thread-db.c
parent89d77b8a520602832516ce6628ea930b4f0ccff4 (diff)
downloadbinutils-gdb-979659d08478172311764b468bfce4960b38760b.tar.gz
[GDBserver] Remove td_ta_event_addr td_ta_set_event and td_ta_event_getmsg
As a result of this commit, 9b4c5f878ff39e04127a1ad95f6b3832afe6d278 (Remove support for thread events without PTRACE_EVENT_CLONE in GDBServer.) the last usage of td_ta_event_addr td_ta_set_event and td_ta_event_getmsg were removed. They are no longer used. This patch is to remove them. gdb/gdbserver: 2016-08-02 Yao Qi <yao.qi@linaro.org> * thread-db.c (struct thread_db) <td_ta_event_getmsg_p>: Remove. <td_ta_set_event_p, td_ta_event_addr_p>: Remove. (thread_db_load_search): Update. (try_thread_db_load_1): Don't look for td_ta_event_addr, td_ta_set_event and td_ta_event_getmsg.
Diffstat (limited to 'gdb/gdbserver/thread-db.c')
-rw-r--r--gdb/gdbserver/thread-db.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c
index 185b8edd317..0222bfcd734 100644
--- a/gdb/gdbserver/thread-db.c
+++ b/gdb/gdbserver/thread-db.c
@@ -56,9 +56,6 @@ struct thread_db
/* Addresses of libthread_db functions. */
td_ta_new_ftype *td_ta_new_p;
- td_ta_event_getmsg_ftype * td_ta_event_getmsg_p;
- td_ta_set_event_ftype *td_ta_set_event_p;
- td_ta_event_addr_ftype *td_ta_event_addr_p;
td_ta_map_lwp2thr_ftype *td_ta_map_lwp2thr_p;
td_thr_get_info_ftype *td_thr_get_info_p;
td_ta_thr_iter_ftype *td_ta_thr_iter_p;
@@ -475,9 +472,6 @@ thread_db_load_search (void)
tdb->td_symbol_list_p = &td_symbol_list;
/* These are not essential. */
- tdb->td_ta_event_addr_p = &td_ta_event_addr;
- tdb->td_ta_set_event_p = &td_ta_set_event;
- tdb->td_ta_event_getmsg_p = &td_ta_event_getmsg;
tdb->td_thr_tls_get_addr_p = &td_thr_tls_get_addr;
tdb->td_thr_tlsbase_p = &td_thr_tlsbase;
@@ -542,9 +536,6 @@ try_thread_db_load_1 (void *handle)
CHK (1, TDB_DLSYM (tdb, td_symbol_list));
/* These are not essential. */
- CHK (0, TDB_DLSYM (tdb, td_ta_event_addr));
- CHK (0, TDB_DLSYM (tdb, td_ta_set_event));
- CHK (0, TDB_DLSYM (tdb, td_ta_event_getmsg));
CHK (0, TDB_DLSYM (tdb, td_thr_tls_get_addr));
CHK (0, TDB_DLSYM (tdb, td_thr_tlsbase));