From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 678 invoked by alias); 21 Nov 2001 22:28:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 575 invoked from network); 21 Nov 2001 22:28:31 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 21 Nov 2001 22:28:31 -0000 Received: from cse.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA03715; Wed, 21 Nov 2001 14:28:29 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.9.3/8.9.3) id PAA21977; Wed, 21 Nov 2001 15:28:19 -0700 Date: Thu, 08 Nov 2001 19:30:00 -0000 From: Kevin Buettner Message-Id: <1011121222819.ZM21976@ocotillo.lan> In-Reply-To: Mark Kettenis "Re: [PATCH RFA] lin-lwp.c: Mark main thread as stopped when attaching" (Nov 21, 1:07pm) References: <1011119195735.ZM16446@ocotillo.lan> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: Mark Kettenis Subject: Re: [PATCH RFA] lin-lwp.c: Mark main thread as stopped when attaching Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-11/txt/msg00176.txt.bz2 On Nov 21, 1:07pm, Mark Kettenis wrote: > Could you change the comment to say that we *assume* that the thread is > stopped and therefore mark it as such? Otherwise OK. Committed. I changed the comment to read as follows: /* We assume that the LWP representing the original process is already stopped. Mark it as stopped in the data structure that the lin-lwp layer uses to keep track of threads. Note that this won't have already been done since the main thread will have, we assume, been stopped by an attach from a different layer. */ Kevin