2007-11-12 Pedro Alves * win32-low.c (win32_wait): Don't read from the inferior when it has already exited. --- gdb/gdbserver/win32-low.c | 3 --- 1 file changed, 3 deletions(-) Index: src/gdb/gdbserver/win32-low.c =================================================================== --- src.orig/gdb/gdbserver/win32-low.c 2007-11-11 23:12:28.000000000 +0000 +++ src/gdb/gdbserver/win32-low.c 2007-11-11 23:15:20.000000000 +0000 @@ -1390,9 +1390,6 @@ win32_wait (char *status) our_status.value.integer)); *status = 'W'; - - child_fetch_inferior_registers (-1); - return our_status.value.integer; case TARGET_WAITKIND_STOPPED: case TARGET_WAITKIND_LOADED: