This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog gdbthread.h thread.c remote.c
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 31 Mar 2009 15:23:58 -0000
- Subject: src/gdb ChangeLog gdbthread.h thread.c remote.c
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2009-03-31 15:23:58
Modified files:
gdb : ChangeLog gdbthread.h thread.c remote.c
Log message:
* remote.c (remote_notice_new_inferior): Use ptid_is_pid. Check
if the thread's ptid without a thread id field is in the list
before calling thread_change_ptid.
(extended_remote_attach_1): In non-stop mode, do not rely on
querying the current thread, instead, query the thread list, and
select the first thread of the process.
* gdbthread.h (first_thread_of_process): Declare.
* thread.c (first_thread_of_process): Define.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10341&r2=1.10342
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbthread.h.diff?cvsroot=src&r1=1.46&r2=1.47
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/thread.c.diff?cvsroot=src&r1=1.108&r2=1.109
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&r1=1.351&r2=1.352