From 9079102fe5b2288e029744e2deb3e96891fe1b92 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 1 Mar 2012 21:06:14 +0000 Subject: 2012-03-01 Pedro Alves * inferior.c (delete_threads_of_inferior): Delete. --- gdb/inferior.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'gdb/inferior.c') diff --git a/gdb/inferior.c b/gdb/inferior.c index 51748a9..327385a 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -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. */ -- cgit v1.1