Remove support for using the bsd-uthread target on FreeBSD.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 4 Apr 2017 21:28:07 +0000 (14:28 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 4 Apr 2017 21:28:07 +0000 (14:28 -0700)
commit4c7bf4f91b7dd3ccbd12be55316fca8817059a24
tree2b8f8a774d7e871e6c9222b4069bf26708c182a1
parent1e1a8bef60db2f524c5eb1d27be22cfa9ff82a84
Remove support for using the bsd-uthread target on FreeBSD.

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.

gdb/ChangeLog:

* amd64-fbsd-tdep.c: Remove "bsd-uthread.h" include.
(amd64fbsd_jmp_buf_reg_offset): Remove.
(amd64fbsd_supply_uthread): Remove function.
(amd64fbsd_collect_uthread): Remove function.
(amd64fbsd_init_abi): Don't set bsd-uthread callbacks.
* configure.tgt (i[34567]86-*-freebsd*): Remove bsd-uthread.o.
(x86_64-*-freebsd*): Remove bsd-uthread.o.
(fbsd-nat.c): Update comment.
* i386-fbsd-tdep.c: Remove "bsd-uthread.h" include.
(i386fbsd_jmp_buf_reg_offset): Remove.
(i386fbsd_supply_uthread): Remove function.
(i386fbsd_collect_uthread): Remove function.
(i386fbsd_init_abi): Don't set bsd-uthread callbacks.
gdb/ChangeLog
gdb/amd64-fbsd-tdep.c
gdb/configure.tgt
gdb/fbsd-nat.c
gdb/i386-fbsd-tdep.c