This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] gdbthread.h (gdb_id_to_thread): Delete, unused.
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 22 Jan 2014 16:45:12 -0800
- Subject: [obv] gdbthread.h (gdb_id_to_thread): Delete, unused.
- Authentication-results: sourceware.org; auth=none
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 */