This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: make attaching to stopped processes work under windows
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: gdb-patches at sourceware dot org, Oswald Buddenhagen <oswald dot buddenhagen at trolltech dot de>
- Date: Fri, 27 Feb 2009 19:44:14 -0500
- Subject: Re: make attaching to stopped processes work under windows
- References: <20090226192552.GB15958@troll08.nokia.trolltech.de>
On Thu, Feb 26, 2009 at 08:25:52PM +0100, Oswald Buddenhagen wrote:
>hi,
>
>the rationale is in the patch itself; i can factor it out to the commit
>message if preferred.
>
> * windows-nat.c (get_windows_debug_event): If we find the thread
> from the CREATE_PROCESS_DEBUG_EVENT suspended, resume it.
Suspending random threads like this is usually a bad idea. Do you
actually have a use cause that requires attaching to suspended threads?
cgf