This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog lin-lwp.c
- To: gdb-cvs at sourceware dot cygnus dot com
- Subject: src/gdb ChangeLog lin-lwp.c
- From: kettenis at sourceware dot cygnus dot com
- Date: 7 Jun 2001 19:31:11 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: kettenis@sources.redhat.com 2001-06-07 12:31:10
Modified files:
gdb : ChangeLog lin-lwp.c
Log message:
* lin-lwp.c (struct lwp_info): Add member `resumed'.
(iterate_over_lwps): Make sure we can handle CALLBACK deleting the
LWP it's called for.
(lin_lwp_attach): Mark LWP as resumed to make sure the fake
SIGSTOP is reported.
(resume_clear_callback): New function.
(resume_set_callback): New function.
(lin_lwp_resume): Mark all LWP's that we're going to resume as
resumed, and unmark all others.
(status_callback): Only report a pending wait status if we pretend
that LP has been resumed.
(resumed_callback): New function.
(lin_lwp_wait): Add assertions to check that LWP's are properly
marked as resumed. Partially revert 2001-05-25 patch by Michael
Snyder: do not resume all threads. Add comment explaining the
problems associated with this bit of code.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.1327&r2=1.1328
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/lin-lwp.c.diff?cvsroot=src&r1=1.23&r2=1.24