2012-03-01 Pedro Alves <palves@redhat.com>
* inferior.c (delete_threads_of_inferior): Delete.
This commit is contained in:
parent
a298c5e812
commit
9079102fe5
2 changed files with 4 additions and 19 deletions
|
@ -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.
|
||||
|
|
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Reference in a new issue