diff options
author | Pedro Alves <palves@redhat.com> | 2007-07-08 19:37:46 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2007-07-08 19:37:46 +0000 |
commit | 45e2715e394c390c117018a9d9414de760158a5c (patch) | |
tree | e40bdf22598bf9586f5a063b3cb4a56854092ec6 /gdb/gdbserver | |
parent | 358eb95ea312924332f2ccbd43c22d5b3048a9de (diff) | |
download | gdb-45e2715e394c390c117018a9d9414de760158a5c.zip gdb-45e2715e394c390c117018a9d9414de760158a5c.tar.gz gdb-45e2715e394c390c117018a9d9414de760158a5c.tar.bz2 |
* win32-low.c (handle_output_debug_string): Ignore event if not
waiting.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/win32-low.c | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index b447e9f..76561ff 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,10 @@ 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. 2007-07-03 Daniel Jacobowitz <dan@codesourcery.com> 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 } |