From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31055 invoked by alias); 28 Feb 2009 00:44:33 -0000 Received: (qmail 31047 invoked by uid 22791); 28 Feb 2009 00:44:32 -0000 X-Spam-Check-By: sourceware.org Received: from pool-173-76-42-111.bstnma.fios.verizon.net (HELO cgf.cx) (173.76.42.111) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 28 Feb 2009 00:44:25 +0000 Received: from ednor.cgf.cx (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 060A813C022; Fri, 27 Feb 2009 19:44:15 -0500 (EST) Received: by ednor.cgf.cx (Postfix, from userid 201) id E99532B385; Fri, 27 Feb 2009 19:44:14 -0500 (EST) Date: Sat, 28 Feb 2009 07:15:00 -0000 From: Christopher Faylor To: gdb-patches@sourceware.org, Oswald Buddenhagen Subject: Re: make attaching to stopped processes work under windows Message-ID: <20090228004414.GA21767@ednor.casa.cgf.cx> Mail-Followup-To: gdb-patches@sourceware.org, Oswald Buddenhagen References: <20090226192552.GB15958@troll08.nokia.trolltech.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090226192552.GB15958@troll08.nokia.trolltech.de> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00505.txt.bz2 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