diff options
author | John Baldwin <jhb@FreeBSD.org> | 2017-04-04 14:28:07 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2017-04-04 14:28:07 -0700 |
commit | 4c7bf4f91b7dd3ccbd12be55316fca8817059a24 (patch) | |
tree | 2b8f8a774d7e871e6c9222b4069bf26708c182a1 /gdb/configure.tgt | |
parent | 1e1a8bef60db2f524c5eb1d27be22cfa9ff82a84 (diff) | |
download | gdb-4c7bf4f91b7dd3ccbd12be55316fca8817059a24.zip gdb-4c7bf4f91b7dd3ccbd12be55316fca8817059a24.tar.gz gdb-4c7bf4f91b7dd3ccbd12be55316fca8817059a24.tar.bz2 |
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.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r-- | gdb/configure.tgt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index ac38ff1..4115809 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -198,7 +198,7 @@ i[34567]86-*-dicos*) i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu) # Target: FreeBSD/i386 gdb_target_obs="i386-tdep.o i387-tdep.o i386-bsd-tdep.o i386-fbsd-tdep.o \ - bsd-uthread.o fbsd-tdep.o solib-svr4.o" + fbsd-tdep.o solib-svr4.o" ;; i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu) # Target: NetBSD/i386 @@ -682,7 +682,7 @@ x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) # Target: FreeBSD/amd64 gdb_target_obs="amd64-tdep.o amd64-fbsd-tdep.o i386-tdep.o \ i387-tdep.o i386-bsd-tdep.o i386-fbsd-tdep.o \ - bsd-uthread.o fbsd-tdep.o solib-svr4.o" + fbsd-tdep.o solib-svr4.o" ;; x86_64-*-mingw* | x86_64-*-cygwin*) # Target: MingW/amd64 |