From owner-freebsd-threads@FreeBSD.ORG Fri Sep 5 02:14:48 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 849E41065676 for ; Fri, 5 Sep 2008 02:14:48 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outc.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id 6F52B8FC1D for ; Fri, 5 Sep 2008 02:14:48 +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 4DA582433; Thu, 4 Sep 2008 19:14:48 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id B6F092D60B2; Thu, 4 Sep 2008 19:14:47 -0700 (PDT) Message-ID: <48C0961E.5000300@elischer.org> Date: Thu, 04 Sep 2008 19:14:54 -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> <48C094B8.3050302@elischer.org> In-Reply-To: <48C094B8.3050302@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-threads@freebsd.org, dixit@netapp.com 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:14:48 -0000 Julian Elischer wrote: > the actual question was from dixit @ netapp.com > but for some reason it didn't appear on this email.. the origianl question can be seen at: http://lists.freebsd.org/pipermail/freebsd-threads/2008-August/004330.html > > > 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" > > _______________________________________________ > 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"