Don't close process handle provided by WaitForDebugEvent
authorHannes Domani <ssbssa@yahoo.de>
Sun, 24 May 2020 22:18:25 +0000 (00:18 +0200)
committerHannes Domani <ssbssa@yahoo.de>
Wed, 27 May 2020 17:20:01 +0000 (19:20 +0200)
Only the process handle returned by OpenProcess or CreateProcess needs to
be closed, the one provided by WaitForDebugEvent is closed automatically.

gdbserver/ChangeLog:

2020-05-27  Hannes Domani  <ssbssa@yahoo.de>

* win32-low.cc (do_initial_child_stuff): Set open_process_used.
(win32_clear_inferiors): Use open_process_used.
(get_child_debug_event): Likewise.


No differences found
This page took 0.026777 seconds and 4 git commands to generate.