2012-03-01 Pedro Alves <palves@redhat.com>

* inferior.c (delete_threads_of_inferior): Delete.
This commit is contained in:
Pedro Alves 2012-03-01 21:06:14 +00:00
parent a298c5e812
commit 9079102fe5
2 changed files with 4 additions and 19 deletions

View File

@ -1,3 +1,7 @@
2012-03-01 Pedro Alves <palves@redhat.com>
* inferior.c (delete_threads_of_inferior): Delete.
2012-03-01 Pedro Alves <palves@redhat.com>
Import fallback definitions from glibc.

View File

@ -178,25 +178,6 @@ delete_thread_of_inferior (struct thread_info *tp, void *data)
return 0;
}
void
delete_threads_of_inferior (int pid)
{
struct inferior *inf;
struct delete_thread_of_inferior_arg arg;
for (inf = inferior_list; inf; inf = inf->next)
if (inf->pid == pid)
break;
if (!inf)
return;
arg.pid = pid;
arg.silent = 1;
iterate_over_threads (delete_thread_of_inferior, &arg);
}
/* If SILENT then be quiet -- don't announce a inferior death, or the
exit of its threads. */