* win32-low.c (handle_output_debug_string): Ignore event if not

waiting.
This commit is contained in:
Pedro Alves 2007-07-08 19:37:46 +00:00
parent 358eb95ea3
commit 45e2715e39
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt>
* win32-low.c (handle_output_debug_string): Ignore event if not
waiting.
2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt>
* win32-arm-low.c (arm_wince_breakpoint): Fix typo.

View File

@ -567,7 +567,15 @@ handle_output_debug_string (struct target_waitstatus *ourstatus)
}
if (strncmp (s, "cYg", 3) != 0)
monitor_output (s);
{
if (!server_waiting)
{
OUTMSG2(("%s", s));
return;
}
monitor_output (s);
}
#undef READ_BUFFER_LEN
}