From owner-freebsd-threads@FreeBSD.ORG Thu Sep 4 23:43:13 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 186BD1065676 for ; Thu, 4 Sep 2008 23:43:13 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outR.internet-mail-service.net (outr.internet-mail-service.net [216.240.47.241]) by mx1.freebsd.org (Postfix) with ESMTP id 03A568FC08 for ; Thu, 4 Sep 2008 23:43:12 +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 AC0DA24D7 for ; Thu, 4 Sep 2008 16:29:52 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 7C8112D605C for ; Thu, 4 Sep 2008 16:29:52 -0700 (PDT) Message-ID: <48C06F77.6000006@elischer.org> Date: Thu, 04 Sep 2008 16:29:59 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: freebsd-threads@freebsd.org References: 488A213F.70105@netapp.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Thu, 04 Sep 2008 23:43:13 -0000 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.