2007-07-08 Pedro Alves * win32-low.c (handle_output_debug_string): Ignore event if not waiting. --- gdb/gdbserver/win32-low.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) Index: src/gdb/gdbserver/win32-low.c =================================================================== --- src.orig/gdb/gdbserver/win32-low.c 2007-07-08 15:14:56.000000000 +0100 +++ src/gdb/gdbserver/win32-low.c 2007-07-08 15:27:26.000000000 +0100 @@ -568,7 +568,15 @@ handle_output_debug_string (struct targe } if (strncmp (s, "cYg", 3) != 0) - monitor_output (s); + { + if (!server_waiting) + { + OUTMSG2(("%s", s)); + return; + } + + monitor_output (s); + } #undef READ_BUFFER_LEN }