X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgdbserver%2Finferiors.c;h=f35cfa06b17cca5ae5e00de2f4b80d9a6dd54c9b;hb=023eb17ca2bc152be687b0b5676bdb6fda6cd9d1;hp=f631e39a37695df8ac795cdc8d2208a79f8d7cc4;hpb=24a09b5f373c09e5cb56523e6fcb76e81bcd4784;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdbserver/inferiors.c b/gdb/gdbserver/inferiors.c index f631e39a37..f35cfa06b1 100644 --- a/gdb/gdbserver/inferiors.c +++ b/gdb/gdbserver/inferiors.c @@ -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