Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFC: patch to lin-lwp.c
@ 2003-08-05 23:22 J. Johnston
  2003-08-06 17:11 ` J. Johnston
  0 siblings, 1 reply; 7+ messages in thread
From: J. Johnston @ 2003-08-05 23:22 UTC (permalink / raw)
  To: gdb-patches

The attached patch is created to deal with the problem as discussed on:

   http://sources.redhat.com/ml/gdb/2003-08/msg00043.html

The fix does two things:

   1. it sets the resumed flag for threads we stopped when the main thread
      exited and then resumed
   2. changes the running_callback to include threads that have events
      pending on them that will be caught on the next wait

Ok to commit?

-- Jeff J.

2003-08-05  Jeff Johnston  <jjohnstn@redhat.com>

	* lin-lwp-wait.c (stop_and_resume_callback): Set the resumed flag
	for any lwp we resume.
	(running_callback): Add lwps that have pending status events
	against them to be considered running.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-10-08 20:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-05 23:22 RFC: patch to lin-lwp.c J. Johnston
2003-08-06 17:11 ` J. Johnston
2003-10-04 21:41   ` Daniel Jacobowitz
2003-10-08  0:19     ` Michael Snyder
2003-10-08 17:57       ` Andrew Cagney
2003-10-08 18:00   ` Daniel Jacobowitz
2003-10-08 20:07     ` J. Johnston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox