This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog inf-ttrace.c
- From: guitton at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 18 Sep 2007 12:42:22 -0000
- Subject: src/gdb ChangeLog inf-ttrace.c
CVSROOT: /cvs/src
Module name: src
Changes by: guitton@sourceware.org 2007-09-18 12:42:22
Modified files:
gdb : ChangeLog inf-ttrace.c
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.8693&r2=1.8694
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/inf-ttrace.c.diff?cvsroot=src&r1=1.23&r2=1.24