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

Hannes Domani ssbssa@yahoo.de
Wed May 27 17:47:46 GMT 2020


 Am Dienstag, 26. Mai 2020, 22:30:58 MESZ hat Tom Tromey <tom@tromey.com> Folgendes geschrieben:

> >>>>> "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.

Pushed with this change, and also the thread one.


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

I plan to look into this once I don't have so many open patches any more.


Thanks,
Hannes


More information about the Gdb-patches mailing list