public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: Remove synchronization event from dumper Date: Fri, 31 Jul 2020 13:01:36 +0000 (GMT) [thread overview] Message-ID: <20200731130136.631163844030@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0d4d2d38fbdf923f379a89b82b6a63580abbaed2 commit 0d4d2d38fbdf923f379a89b82b6a63580abbaed2 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Mon Jul 6 15:02:39 2020 +0100 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). Diff: --- winsup/utils/dumper.cc | 12 ------------ 1 file changed, 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; }
reply other threads:[~2020-07-31 13:01 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200731130136.631163844030@sourceware.org \ --to=jturney@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).