From owner-freebsd-threads@FreeBSD.ORG Fri Sep 5 02:08:50 2008 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C87B11065672 for ; Fri, 5 Sep 2008 02:08:50 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outQ.internet-mail-service.net (outq.internet-mail-service.net [216.240.47.240]) by mx1.freebsd.org (Postfix) with ESMTP id AFCDB8FC22 for ; Fri, 5 Sep 2008 02:08:50 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 9B18F24C2; Thu, 4 Sep 2008 19:08:50 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id D8D462D6015; Thu, 4 Sep 2008 19:08:49 -0700 (PDT) Message-ID: <48C094B8.3050302@elischer.org> Date: Thu, 04 Sep 2008 19:08:56 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: David Xu References: 488A213F.70105@netapp.com <48C06F77.6000006@elischer.org> <48C0923F.6080608@freebsd.org> In-Reply-To: <48C0923F.6080608@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: dixit@netapp.com, freebsd-threads@freebsd.org Subject: Re: libpthread and gdbserver X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2008 02:08:50 -0000 the actual question was from dixit @ netapp.com but for some reason it didn't appear on this email.. David Xu wrote: > 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. > > > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"