From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103063 invoked by alias); 4 Apr 2017 21:28:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 103028 invoked by uid 89); 4 Apr 2017 21:28:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,KAM_INFOUSMEBIZ,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=inquire, H*Ad:D*nl, UD:info, shipped X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 04 Apr 2017 21:28:49 +0000 Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 5669510A7B9; Tue, 4 Apr 2017 17:28:49 -0400 (EDT) From: John Baldwin To: Simon Marchi Cc: gdb-patches@sourceware.org, "Mark Kettenis (mark.kettenis@xs4all.nl)" Subject: Re: [PATCH] Remove support for using the bsd-uthread target on FreeBSD. Date: Tue, 04 Apr 2017 21:28:00 -0000 Message-ID: <1857183.rSnV2TeHRQ@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.0-STABLE; KDE/4.14.10; amd64; ; ) In-Reply-To: <464e26c426c0486211bed1892a278f86@polymtl.ca> References: <20170404183801.17957-1-jhb@FreeBSD.org> <464e26c426c0486211bed1892a278f86@polymtl.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes X-SW-Source: 2017-04/txt/msg00073.txt.bz2 On Tuesday, April 04, 2017 03:52:28 PM Simon Marchi wrote: > On 2017-04-04 14:38, John Baldwin wrote: > > The bsd-uthread target supports an old thread library ("libc_r") that > > was last included in FreeBSD release 6.4 released in 2008. However, > > this library has not been used as the default library since FreeBSD > > 5.0 (2003) and 4.11 (2005). Thread support for modern FreeBSD binaries > > is provided via "normal" LWP support in core files and the native > > FreeBSD target. > > > Thanks again! > > By any chance, would you know the same information but for obsd and > nbsd? If not I'll inquire on the relevant mailing lists. The nbsd architectures in GDB don't use bsd-uthread, only obsd. Looking at cvsweb for OpenBSD, it seems that OpenBSD switched the default threading library from a uthread-style libc_r to a LWP-based librthreads for its thread support in 2012: http://marc.info/?l=openbsd-cvs&m=132928856921225&w=2 This seems to have been released in OpenBSD 5.1? I believe that the older uthread-library last shipped in OpenBSD 5.0 in 2011. Presumably Mark (cc'd) can confirm? -- John Baldwin