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: Oswald Buddenhagen <oswald dot buddenhagen at trolltech dot de>
- To: gdb-patches at sourceware dot org
- Date: Mon, 2 Mar 2009 11:06:51 +0100
- Subject: Re: make attaching to stopped processes work under windows
- References: <20090226192552.GB15958@troll08.nokia.trolltech.de> <20090228004414.GA21767@ednor.casa.cgf.cx>
hi,
On Fri, Feb 27, 2009 at 07:44:14PM -0500, Christopher Faylor wrote:
> On Thu, Feb 26, 2009 at 08:25:52PM +0100, Oswald Buddenhagen wrote:
> >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?
>
i should point out that the patch contains a comment answering that
question and that i pointed that out in the only sentence the mail
contained. so please be a little bit more attentive, or make it somewhat
clearer that you already are (by relating to previous content when you
ask something). thanks.