2012-03-01 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Thu, 1 Mar 2012 21:06:14 +0000 (21:06 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 1 Mar 2012 21:06:14 +0000 (21:06 +0000)
* inferior.c (delete_threads_of_inferior): Delete.

gdb/ChangeLog
gdb/inferior.c

index fcc95f625d1a082d103d9f58b648385ad3c0a4cd..fb7e347b4fa8c013d8f85d8413e2fc3d3a73db00 100644 (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.
index 51748a9ee56bd00bf81b95b91410414723102f71..327385a690ef925a5e662e5efbdccd190ccc9533 100644 (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.  */