Date: Fri, 05 Sep 2008 09:58:23 +0800 From: David Xu <davidxu@freebsd.org> To: Julian Elischer <julian@elischer.org> Cc: freebsd-threads@freebsd.org Subject: Re: libpthread and gdbserver Message-ID: <48C0923F.6080608@freebsd.org> In-Reply-To: <48C06F77.6000006@elischer.org> References: 488A213F.70105@netapp.com <48C06F77.6000006@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote: > just saw youe email to freebsd-threads... > > > ----- > > But pt_ta_map_lwp2thr() internally calls pt_ta_map_id2thr() in > libthr_db.c so 'pid to tid' conversion is missing. > If FreeBsd intends to keep it this way, I will have to modify gdbserver > to not use 'pid' to find threads as Linux does. > Can someone shed some light on this? Am I mailing the correct > mailing-list with these queries? > > ----- > > you might try directly mailing davidxu or marcel or jhb (all > @freebsd.org). they SHOULD have seen that posting but may not have.. > > jhb is I think away for a few days. > but was doing stuff with the debugger quite recently. > Our thread has its kernel thread id, it is called lwpid, this is not linux like pid, I know linux thread is a special process.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48C0923F.6080608>