From: Yao Qi Date: Tue, 2 Aug 2016 15:04:09 +0000 (+0100) Subject: [GDBserver] Remove td_ta_event_addr td_ta_set_event and td_ta_event_getmsg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=979659d08478172311764b468bfce4960b38760b;p=binutils-gdb.git [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 * thread-db.c (struct thread_db) : Remove. : 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. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index dfdbc219b2b..f4523f70416 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,11 @@ +2016-08-02 Yao Qi + + * thread-db.c (struct thread_db) : Remove. + : 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. + 2016-07-26 Pedro Alves PR server/20414 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));