delete thread_id_to_gdb_id, unused

* inferiors.c (thread_id_to_gdb_id): Delete.
	* inferiors.h (thread_id_to_gdb_id): Delete.
This commit is contained in:
Doug Evans 2014-01-15 16:35:37 -08:00
parent 5ae8deca2a
commit ab7f45ba10
3 changed files with 5 additions and 16 deletions

View File

@ -1,3 +1,8 @@
2014-01-15 Doug Evans <dje@google.com>
* inferiors.c (thread_id_to_gdb_id): Delete.
* inferiors.h (thread_id_to_gdb_id): Delete.
2014-01-13 Eli Zaretskii <eliz@gnu.org>
* Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from

View File

@ -105,21 +105,6 @@ add_thread (ptid_t thread_id, void *target_data)
new_thread->target_data = 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)
{

View File

@ -94,7 +94,6 @@ struct process_info *find_process_pid (int pid);
int have_started_inferiors_p (void);
int have_attached_inferiors_p (void);
ptid_t thread_id_to_gdb_id (ptid_t);
ptid_t thread_to_gdb_id (struct thread_info *);
ptid_t gdb_id_to_thread_id (ptid_t);