diff options
Diffstat (limited to 'gdb/gdbserver/win32-low.c')
-rw-r--r-- | gdb/gdbserver/win32-low.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c index 736d85e..161cadf 100644 --- a/gdb/gdbserver/win32-low.c +++ b/gdb/gdbserver/win32-low.c @@ -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 } |