Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-07-06 17:02:39 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2020-07-31 16:01:01 +0300
commit0d4d2d38fbdf923f379a89b82b6a63580abbaed2 (patch)
treedc48045b4ccc8eea68d8e44ea7b4650b7e2f386e /winsup
parenta5218ff7721bd5df023f576a0e9afb8f099c3b09 (diff)
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).
Diffstat (limited to 'winsup')
-rw-r--r--winsup/utils/dumper.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/winsup/utils/dumper.cc b/winsup/utils/dumper.cc
index 3eb4af275..816320e6d 100644
--- a/winsup/utils/dumper.cc
+++ b/winsup/utils/dumper.cc
@@ -627,10 +627,6 @@ dumper::collect_process_information ()
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;
while (1)
@@ -701,10 +697,6 @@ dumper::collect_process_information ()
goto failed;
};
- /* signal a debugee that we've finished */
- if (sync_with_debugee)
- SetEvent (sync_with_debugee);
-
break;
default:
@@ -730,10 +722,6 @@ failed:
/* Otherwise, the debuggee is terminated when this process exits
(as DebugSetProcessKillOnExit() defaults to TRUE) */
- /* set debugee free */
- if (sync_with_debugee)
- SetEvent (sync_with_debugee);
-
return 0;
}