[PATCH 2/2] Don't close process handle provided by WaitForDebugEvent

Tom Tromey tom@tromey.com
Tue May 26 20:30:55 GMT 2020


>>>>> "Hannes" == Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> writes:

Hannes> +/* True if current_process_handle needs to be closed.  */
Hannes> +bool open_process_used = false;

This should probably be "static".

The patch is ok with this changed.

Perhaps a bit more of this code can be merged between gdb and gdbserver?
I didn't look too deeply.

Tom


More information about the Gdb-patches mailing list