This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: make attaching to stopped processes work under windows


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]