[PATCH] Remove support for using the bsd-uthread target on FreeBSD.

John Baldwin jhb@freebsd.org
Tue Apr 4 21:28:00 GMT 2017


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



More information about the Gdb-patches mailing list