Date: Wed, 14 Apr 2004 01:10:20 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: David Xu <davidxu@freebsd.org> Cc: threads@FreeBSD.org Subject: Re: [Fwd: cvs commit: src/sys/kern kern_fork.c kern_thr.ckern_thread.c src/sys/sys proc.h] Message-ID: <Pine.BSF.4.21.0404140106160.29870-100000@InterJet.elischer.org> In-Reply-To: <407C9584.10805@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0404140106160.29870-100000>