diff options
Diffstat (limited to 'gdb/gdbserver/inferiors.c')
-rw-r--r-- | gdb/gdbserver/inferiors.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/gdbserver/inferiors.c b/gdb/gdbserver/inferiors.c index 3325eb3..0033958 100644 --- a/gdb/gdbserver/inferiors.c +++ b/gdb/gdbserver/inferiors.c @@ -106,21 +106,6 @@ add_thread (ptid_t thread_id, void *target_data) } ptid_t -thread_id_to_gdb_id (ptid_t thread_id) -{ - struct inferior_list_entry *inf = all_threads.head; - - while (inf != NULL) - { - if (ptid_equal (inf->id, thread_id)) - return thread_id; - inf = inf->next; - } - - return null_ptid; -} - -ptid_t thread_to_gdb_id (struct thread_info *thread) { return thread->entry.id; |