[Fwd: cvs commit: src/sys/kern kern_fork.c kern_thr.ckern_thread.c src/sys/sys proc.h]

Julian Elischer julian at elischer.org
Wed Apr 14 01:10:24 PDT 2004



On Wed, 14 Apr 2004, David Xu wrote:

> This commit would change the way how gdb searches a thread by using 
> ptrace interface
> in my thread debugging patch:
> http://people.freebsd.org/~davidxu/kse/thread_db
> the patch is now supporting libpthread and libthr, however because 
> libthr is using another type
> of thread identify  thr_id_t, if I follow the commit, the patch won't 
> work, libthr and its interfaces
> need to be changed to use integer tid, libpthread won't be affected 
> because it never uses kernel
> thread id.
> 
> David Xu

After discussing this with marcel, this code may change a bit.



you only need a TID in the case where sizeof(void *) != sizeof(int)



More information about the freebsd-threads mailing list