* gdb.texinfo (Omissions from Ada): Remove incorrect documentation
[deliverable/binutils-gdb.git] / gdb / gdbserver / inferiors.c
index f631e39a37695df8ac795cdc8d2208a79f8d7cc4..f35cfa06b17cca5ae5e00de2f4b80d9a6dd54c9b 100644 (file)
@@ -1,5 +1,5 @@
 /* Inferior process information for the remote server for GDB.
-   Copyright (C) 2002, 2005, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2005, 2007, 2008 Free Software Foundation, Inc.
 
    Contributed by MontaVista Software.
 
@@ -302,6 +302,8 @@ clear_inferiors (void)
 
   clear_list (&all_threads);
   clear_list (&all_dlls);
+
+  current_inferior = NULL;
 }
 
 /* Two utility functions for a truly degenerate inferior_list: a simple
This page took 0.023477 seconds and 4 git commands to generate.