This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog infrun.c thread-db.c
- From: jjohnstn at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 4 Jun 2004 21:28:16 -0000
- Subject: src/gdb ChangeLog infrun.c thread-db.c
CVSROOT: /cvs/src
Module name: src
Changes by: jjohnstn@sourceware.org 2004-06-04 21:28:16
Modified files:
gdb : ChangeLog infrun.c thread-db.c
Log message:
2004-06-04 Jeff Johnston <jjohnstn@redhat.com>
* infrun.c (handle_inferior_event): Don't treat an invalid ptid
as a new thread event.
* thread_db.c (thread_get_info_callback): If the thread is a
zombie, return TD_THR_ZOMBIE.
* (thread_from_lwp): If thread_get_info_callback returns
TD_THR_ZOMBIE, check if the thread is still on the thread list
and return a -1 ptid if not found.
(thread_db_wait): If thread_from_lwp returns a -1 ptid, then
change the status to TARGET_WAITKIND_SPURIOUS.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.5960&r2=1.5961
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.163&r2=1.164
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/thread-db.c.diff?cvsroot=src&r1=1.40&r2=1.41