This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]