From: John Baldwin <jhb@freebsd.org>
To: Simon Marchi <simon.marchi@polymtl.ca>
Cc: gdb-patches@sourceware.org,
"Mark Kettenis (mark.kettenis@xs4all.nl)"
<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 [thread overview]
Message-ID: <1857183.rSnV2TeHRQ@ralph.baldwin.cx> (raw)
In-Reply-To: <464e26c426c0486211bed1892a278f86@polymtl.ca>
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
prev parent reply other threads:[~2017-04-04 21:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-04 18:43 John Baldwin
2017-04-04 19:52 ` Simon Marchi
2017-04-04 21:28 ` John Baldwin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1857183.rSnV2TeHRQ@ralph.baldwin.cx \
--to=jhb@freebsd.org \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
--cc=simon.marchi@polymtl.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox