This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH RFA] lin-lwp.c: Mark main thread as stopped when attaching


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]