+2015-11-17 Pedro Alves <palves@redhat.com>
+
+ * win32-low.c (handle_output_debug_string): Remove parameter.
+ (win32_kill): Remove our_status local and adjust call to
+ handle_output_debug_string.
+ (get_child_debug_event): Adjust call to
+ handle_output_debug_string.
+
2015-11-03 Simon Marchi <simon.marchi@polymtl.ca>
* linux-mips-low.c (mips_fill_gregset): Add cast.
/* Handle OUTPUT_DEBUG_STRING_EVENT from child process. */
static void
-handle_output_debug_string (struct target_waitstatus *ourstatus)
+handle_output_debug_string (void)
{
#define READ_BUFFER_LEN 1024
CORE_ADDR addr;
if (current_event.dwDebugEventCode == EXIT_PROCESS_DEBUG_EVENT)
break;
else if (current_event.dwDebugEventCode == OUTPUT_DEBUG_STRING_EVENT)
- {
- struct target_waitstatus our_status = { 0 };
- handle_output_debug_string (&our_status);
- }
+ handle_output_debug_string ();
}
win32_clear_inferiors ();
"for pid=%u tid=%x\n",
(unsigned) current_event.dwProcessId,
(unsigned) current_event.dwThreadId));
- handle_output_debug_string (ourstatus);
+ handle_output_debug_string ();
break;
default: