[RFA/hpux] acknowledging TTEVT_LWP_EXIT

Jerome Guitton guitton@adacore.com
Tue Sep 18 12:44:00 GMT 2007


Mark Kettenis (mark.kettenis@xs4all.nl):

> > 2007-09-18  Jerome Guitton  <guitton@adacore.com>
> > 
> > 	* inf-ttrace.c (inf_ttrace_private_thread_info): New structure type.
> >         (inf_ttrace_delete_dying_threads_callback): New function.
> >         (inf_ttrace_resume): After resuming the execution, iterate over
> >         the dying threads to delete them for the thread list.
> >         (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE,
> >         mark the corresponding thread as dying instead of removing it
> >         from the thread list.
> >         (inf_ttrace_thread_alive): return 0 for dying threads.
> 
> Looks ok to me.

Thank you. Checked in.
-Jerome



More information about the Gdb-patches mailing list