This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv] gdbthread.h (gdb_id_to_thread): Delete, unused.


Hi.

I found this decl which is unused.

Committed.

2014-01-22  Doug Evans  <dje@google.com>

	* gdbthread.h (gdb_id_to_thread): Delete, unused.

diff --git a/gdb/gdbserver/gdbthread.h b/gdb/gdbserver/gdbthread.h
index a190566..a1d9ca8 100644
--- a/gdb/gdbserver/gdbthread.h
+++ b/gdb/gdbserver/gdbthread.h
@@ -74,8 +74,8 @@ void remove_thread (struct thread_info *thread);
 void add_thread (ptid_t ptid, void *target_data);
 
 struct thread_info *find_thread_ptid (ptid_t ptid);
-struct thread_info *gdb_id_to_thread (unsigned int);
 
 /* Get current thread ID (Linux task ID).  */
 #define current_ptid ((struct inferior_list_entry *) current_inferior)->id
+
 #endif /* GDB_THREAD_H */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]