mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
2012-03-01 Pedro Alves <palves@redhat.com>
* inferior.c (delete_threads_of_inferior): Delete.
This commit is contained in:
@ -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. */
|
||||
|
||||
|
Reference in New Issue
Block a user