diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-06-07 19:31:10 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-06-07 19:31:10 +0000 |
commit | fce0e6e1ed31ade460b2734913aeca2ad566c39c (patch) | |
tree | a2c0f3b24a742cb3addfa4c869db5efcd92cb1aa /gdb/tracepoint.c | |
parent | 54403c593aa5d8ad80548132ae4eb08914d8251e (diff) | |
download | gdb-fce0e6e1ed31ade460b2734913aeca2ad566c39c.zip gdb-fce0e6e1ed31ade460b2734913aeca2ad566c39c.tar.gz gdb-fce0e6e1ed31ade460b2734913aeca2ad566c39c.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/tracepoint.c')
0 files changed, 0 insertions, 0 deletions