From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15397 invoked by alias); 2 Mar 2009 10:07:34 -0000 Received: (qmail 15386 invoked by uid 22791); 2 Mar 2009 10:07:33 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp.nokia.com (HELO mgw-mx09.nokia.com) (192.100.105.134) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Mar 2009 10:07:27 +0000 Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx09.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n22A72Gi017312 for ; Mon, 2 Mar 2009 04:07:23 -0600 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 2 Mar 2009 12:06:52 +0200 Received: from mgw-int02.ntc.nokia.com ([172.21.143.97]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 2 Mar 2009 12:05:51 +0200 Received: from troll08.nokia.trolltech.de (bett-ws017.europe.nokia.com [172.25.167.41]) by mgw-int02.ntc.nokia.com (Switch-3.2.5/Switch-3.2.5) with SMTP id n22A5nCi022864 for ; Mon, 2 Mar 2009 12:05:50 +0200 Date: Mon, 02 Mar 2009 10:07:00 -0000 From: Oswald Buddenhagen To: gdb-patches@sourceware.org Subject: Re: make attaching to stopped processes work under windows Message-ID: <20090302100651.GA8157@troll08.nokia.trolltech.de> References: <20090226192552.GB15958@troll08.nokia.trolltech.de> <20090228004414.GA21767@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090228004414.GA21767@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Nokia-AV: Clean X-IsSubscribed: yes 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-03/txt/msg00009.txt.bz2 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.