This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFA] lin-lwp.c: Mark main thread as stopped when attaching
- From: Kevin Buettner <kevinb at cygnus dot com>
- To: Mark Kettenis <kettenis at science dot uva dot nl>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 21 Nov 2001 15:28:19 -0700
- Subject: Re: [PATCH RFA] lin-lwp.c: Mark main thread as stopped when attaching
- References: <1011119195735.ZM16446@ocotillo.lan> <s3ioflwfhu4.fsf@soliton.wins.uva.nl>
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