Cygwin: Remove synchronization event from dumper
The use of the 'cygwin_error_start_event' for synchronization with dumper was removed from the DLL in commit 8abeff1e (April 2001).
This commit is contained in:
parent
a5218ff772
commit
0d4d2d38fb
@ -627,10 +627,6 @@ dumper::collect_process_information ()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
char event_name[sizeof ("cygwin_error_start_event") + 20];
|
|
||||||
sprintf (event_name, "cygwin_error_start_event%16x", (unsigned int) pid);
|
|
||||||
HANDLE sync_with_debugee = OpenEvent (EVENT_MODIFY_STATE, FALSE, event_name);
|
|
||||||
|
|
||||||
DEBUG_EVENT current_event;
|
DEBUG_EVENT current_event;
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
@ -701,10 +697,6 @@ dumper::collect_process_information ()
|
|||||||
goto failed;
|
goto failed;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* signal a debugee that we've finished */
|
|
||||||
if (sync_with_debugee)
|
|
||||||
SetEvent (sync_with_debugee);
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -730,10 +722,6 @@ failed:
|
|||||||
/* Otherwise, the debuggee is terminated when this process exits
|
/* Otherwise, the debuggee is terminated when this process exits
|
||||||
(as DebugSetProcessKillOnExit() defaults to TRUE) */
|
(as DebugSetProcessKillOnExit() defaults to TRUE) */
|
||||||
|
|
||||||
/* set debugee free */
|
|
||||||
if (sync_with_debugee)
|
|
||||||
SetEvent (sync_with_debugee);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user