This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4] windows-nat: Also ignore ERROR_INVALID_HANDLE from SuspendThread()
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jon Turney <jon dot turney at dronecode dot org dot uk>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 9 Jun 2015 15:17:08 -0400
- Subject: Re: [PATCH 4/4] windows-nat: Also ignore ERROR_INVALID_HANDLE from SuspendThread()
- Authentication-results: sourceware.org; auth=none
- References: <1433352592-9728-1-git-send-email-jon dot turney at dronecode dot org dot uk> <1433352592-9728-6-git-send-email-jon dot turney at dronecode dot org dot uk>
> 2015-06-03 Jon Turney <jon.turney@dronecode.org.uk>
>
> * windows-nat.c (thread_rec): Also ignore ERROR_INVALID_HANDLE
> from SuspendThread().
OK to push, after one slight formatting nit gets fixed.
> - if (err != ERROR_ACCESS_DENIED)
> + about to exit.
> + We can get Invalid Handle (6) if the main thread
> + has exited. */
GNU Coding Style: 2 spacces after a period.
Thank you,
--
Joel