Fix ARI warning
[deliverable/binutils-gdb.git] / gdb / gnu-nat.c
index 124574e8ed6b9ff4a2d97435b809317d7d9b67f9..9935dcb65a29ce1292164007498a7948dc16d3e2 100644 (file)
@@ -1,5 +1,5 @@
 /* Interface GDB to the GNU Hurd.
-   Copyright (C) 1992-2016 Free Software Foundation, Inc.
+   Copyright (C) 1992-2017 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -2163,6 +2163,8 @@ gnu_create_inferior (struct target_ops *ops,
 
   startup_inferior (START_INFERIOR_TRAPS_EXPECTED);
   inf->pending_execs = 0;
+  /* Get rid of the old shell threads.  */
+  prune_threads ();
 
   inf_validate_procinfo (inf);
   inf_update_signal_thread (inf);
This page took 0.02411 seconds and 4 git commands to generate.