Module Name: src
Committed By: kamil
Date: Wed Feb 8 03:44:41 UTC 2017
Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi
src/distrib/sets/lists/tests: mi
src/doc: TODO.ptrace
src/lib: Makefile
src/lib/libpthread: README TODO pthread.3 pthread_int.h
src/share/mk: bsd.README bsd.hostprog.mk bsd.prog.mk
src/tests/lib: Makefile
Removed Files:
src/lib/libpthread_dbg: Makefile pthread_dbg.3 pthread_dbg.c
pthread_dbg.h pthread_dbg_int.h shlib_version td_map_pth2thr.3
td_open.3 td_thr_getname.3 td_thr_info.3 td_thr_iter.3
src/tests/lib/libpthread_dbg: Makefile h_common.h t_dummy.c t_threads.c
Log Message:
libpthread_dbg(3) deletion from the base distribution
libpthread_dbg(3) is a remnant library from the M:N thread model
(pre-NetBSD-5.0) API to introspect threads within a process and for use
of debuggers.
Currently in the 1:1 model it's not used in GDB neither in LLDB and it's
not either planned to be used. It's current function to read pthread_t
structures is realizable within a regular debugger capable to
instrospect objects within a tracee (GDB, LLDB...).
Remaining users of this API can still use this library from
pkgsrc/devel/libpthread_dbg.
Sponsored by <The NetBSD Foundation>
To generate a diff of this commit:
cvs rdiff -u -r1.799 -r1.800 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.2107 -r1.2108 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.299 -r1.300 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.196 -r1.197 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.158 -r1.159 src/distrib/sets/lists/debug/shl.mi
cvs rdiff -u -r1.716 -r1.717 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.14 -r1.15 src/doc/TODO.ptrace
cvs rdiff -u -r1.248 -r1.249 src/lib/Makefile
cvs rdiff -u -r1.6 -r1.7 src/lib/libpthread/README
cvs rdiff -u -r1.17 -r1.18 src/lib/libpthread/TODO
cvs rdiff -u -r1.16 -r1.17 src/lib/libpthread/pthread.3
cvs rdiff -u -r1.92 -r1.93 src/lib/libpthread/pthread_int.h
cvs rdiff -u -r1.16 -r0 src/lib/libpthread_dbg/Makefile
cvs rdiff -u -r1.4 -r0 src/lib/libpthread_dbg/pthread_dbg.3
cvs rdiff -u -r1.51 -r0 src/lib/libpthread_dbg/pthread_dbg.c
cvs rdiff -u -r1.9 -r0 src/lib/libpthread_dbg/pthread_dbg.h
cvs rdiff -u -r1.8 -r0 src/lib/libpthread_dbg/pthread_dbg_int.h
cvs rdiff -u -r1.5 -r0 src/lib/libpthread_dbg/shlib_version
cvs rdiff -u -r1.2 -r0 src/lib/libpthread_dbg/td_map_pth2thr.3 \
src/lib/libpthread_dbg/td_open.3 src/lib/libpthread_dbg/td_thr_getname.3 \
src/lib/libpthread_dbg/td_thr_info.3 src/lib/libpthread_dbg/td_thr_iter.3
cvs rdiff -u -r1.357 -r1.358 src/share/mk/bsd.README
cvs rdiff -u -r1.76 -r1.77 src/share/mk/bsd.hostprog.mk
cvs rdiff -u -r1.301 -r1.302 src/share/mk/bsd.prog.mk
cvs rdiff -u -r1.27 -r1.28 src/tests/lib/Makefile
cvs rdiff -u -r1.2 -r0 src/tests/lib/libpthread_dbg/Makefile \
src/tests/lib/libpthread_dbg/h_common.h
cvs rdiff -u -r1.6 -r0 src/tests/lib/libpthread_dbg/t_dummy.c
cvs rdiff -u -r1.9 -r0 src/tests/lib/libpthread_dbg/t_threads.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/base/shl.mi
diff -u src/distrib/sets/lists/base/shl.mi:1.799 src/distrib/sets/lists/base/shl.mi:1.800
--- src/distrib/sets/lists/base/shl.mi:1.799 Tue Jan 31 23:19:20 2017
+++ src/distrib/sets/lists/base/shl.mi Wed Feb 8 03:44:40 2017
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.799 2017/01/31 23:19:20 christos Exp $
+# $NetBSD: shl.mi,v 1.800 2017/02/08 03:44:40 kamil Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -451,9 +451,9 @@
./usr/lib/libpthread.so base-sys-shlib compatfile
./usr/lib/libpthread.so.1 base-sys-shlib compatfile
./usr/lib/libpthread.so.1.3 base-sys-shlib compatfile
-./usr/lib/libpthread_dbg.so base-sys-shlib compatfile
-./usr/lib/libpthread_dbg.so.2 base-sys-shlib compatfile
-./usr/lib/libpthread_dbg.so.2.0 base-sys-shlib compatfile
+./usr/lib/libpthread_dbg.so base-obsolete obsolete
+./usr/lib/libpthread_dbg.so.2 base-obsolete obsolete
+./usr/lib/libpthread_dbg.so.2.0 base-obsolete obsolete
./usr/lib/libpuffs.so base-puffs-shlib compatfile
./usr/lib/libpuffs.so.2 base-puffs-shlib compatfile
./usr/lib/libpuffs.so.2.0 base-puffs-shlib compatfile
Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2107 src/distrib/sets/lists/comp/mi:1.2108
--- src/distrib/sets/lists/comp/mi:1.2107 Wed Feb 1 12:33:58 2017
+++ src/distrib/sets/lists/comp/mi Wed Feb 8 03:44:40 2017
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.2107 2017/02/01 12:33:58 christos Exp $
+# $NetBSD: mi,v 1.2108 2017/02/08 03:44:40 kamil Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@@ -2620,7 +2620,7 @@
./usr/include/protocols/talkd.h comp-c-include
./usr/include/protocols/timed.h comp-c-include
./usr/include/pthread.h comp-c-include
-./usr/include/pthread_dbg.h comp-c-include
+./usr/include/pthread_dbg.h comp-obsolete obsolete
./usr/include/pthread_queue.h comp-c-include
./usr/include/pthread_types.h comp-c-include
./usr/include/puffs.h comp-puffs-include
@@ -3384,8 +3384,8 @@
./usr/lib/libprop.a comp-c-lib compatfile
./usr/lib/libprop_p.a comp-c-proflib compatfile,profile
./usr/lib/libpthread.a comp-c-lib compatfile
-./usr/lib/libpthread_dbg.a comp-c-lib compatfile
-./usr/lib/libpthread_dbg_p.a comp-c-proflib compatfile,profile
+./usr/lib/libpthread_dbg.a comp-obsolete obsolete
+./usr/lib/libpthread_dbg_p.a comp-obsolete obsolete
./usr/lib/libpthread_p.a comp-c-proflib compatfile,profile
./usr/lib/libpuffs.a comp-puffs-lib compatfile
./usr/lib/libpuffs_p.a comp-puffs-proflib compatfile,profile
@@ -3749,7 +3749,7 @@
./usr/libdata/lint/llib-lproc.ln comp-c-lintlib lint,dtrace
./usr/libdata/lint/llib-lprop.ln comp-c-lintlib lint
./usr/libdata/lint/llib-lpthread.ln comp-c-lintlib lint
-./usr/libdata/lint/llib-lpthread_dbg.ln comp-c-lintlib lint
+./usr/libdata/lint/llib-lpthread_dbg.ln comp-obsolete obsolete
./usr/libdata/lint/llib-lpuffs.ln comp-puffs-lintlib lint
./usr/libdata/lint/llib-lquota.ln comp-c-lintlib lint
./usr/libdata/lint/llib-lradius.ln comp-c-lintlib lint
@@ -8465,7 +8465,7 @@
./usr/share/man/cat3/pthread_condattr_setpshared.0 comp-c-catman .cat
./usr/share/man/cat3/pthread_create.0 comp-c-catman .cat
./usr/share/man/cat3/pthread_curcpu_np.0 comp-c-catman .cat
-./usr/share/man/cat3/pthread_dbg.0 comp-c-catman .cat
+./usr/share/man/cat3/pthread_dbg.0 comp-obsolete obsolete
./usr/share/man/cat3/pthread_detach.0 comp-c-catman .cat
./usr/share/man/cat3/pthread_equal.0 comp-c-catman .cat
./usr/share/man/cat3/pthread_exit.0 comp-c-catman .cat
@@ -9406,12 +9406,12 @@
./usr/share/man/cat3/tcsendbreak.0 comp-c-catman .cat
./usr/share/man/cat3/tcsetattr.0 comp-c-catman .cat
./usr/share/man/cat3/tcsetpgrp.0 comp-c-catman .cat
-./usr/share/man/cat3/td_close.0 comp-c-catman .cat
-./usr/share/man/cat3/td_map_pth2thr.0 comp-c-catman .cat
-./usr/share/man/cat3/td_open.0 comp-c-catman .cat
-./usr/share/man/cat3/td_thr_getname.0 comp-c-catman .cat
-./usr/share/man/cat3/td_thr_info.0 comp-c-catman .cat
-./usr/share/man/cat3/td_thr_iter.0 comp-c-catman .cat
+./usr/share/man/cat3/td_close.0 comp-obsolete obsolete
+./usr/share/man/cat3/td_map_pth2thr.0 comp-obsolete obsolete
+./usr/share/man/cat3/td_open.0 comp-obsolete obsolete
+./usr/share/man/cat3/td_thr_getname.0 comp-obsolete obsolete
+./usr/share/man/cat3/td_thr_info.0 comp-obsolete obsolete
+./usr/share/man/cat3/td_thr_iter.0 comp-obsolete obsolete
./usr/share/man/cat3/tdelete.0 comp-c-catman .cat
./usr/share/man/cat3/telldir.0 comp-c-catman .cat
./usr/share/man/cat3/tempnam.0 comp-c-catman .cat
@@ -15838,7 +15838,7 @@
./usr/share/man/html3/pthread_condattr_setpshared.html comp-c-htmlman html
./usr/share/man/html3/pthread_create.html comp-c-htmlman html
./usr/share/man/html3/pthread_curcpu_np.html comp-c-htmlman html
-./usr/share/man/html3/pthread_dbg.html comp-c-htmlman html
+./usr/share/man/html3/pthread_dbg.html comp-obsolete obsolete
./usr/share/man/html3/pthread_detach.html comp-c-htmlman html
./usr/share/man/html3/pthread_equal.html comp-c-htmlman html
./usr/share/man/html3/pthread_exit.html comp-c-htmlman html
@@ -16743,12 +16743,12 @@
./usr/share/man/html3/tcsendbreak.html comp-c-htmlman html
./usr/share/man/html3/tcsetattr.html comp-c-htmlman html
./usr/share/man/html3/tcsetpgrp.html comp-c-htmlman html
-./usr/share/man/html3/td_close.html comp-c-htmlman html
-./usr/share/man/html3/td_map_pth2thr.html comp-c-htmlman html
-./usr/share/man/html3/td_open.html comp-c-htmlman html
-./usr/share/man/html3/td_thr_getname.html comp-c-htmlman html
-./usr/share/man/html3/td_thr_info.html comp-c-htmlman html
-./usr/share/man/html3/td_thr_iter.html comp-c-htmlman html
+./usr/share/man/html3/td_close.html comp-obsolete obsolete
+./usr/share/man/html3/td_map_pth2thr.html comp-obsolete obsolete
+./usr/share/man/html3/td_open.html comp-obsolete obsolete
+./usr/share/man/html3/td_thr_getname.html comp-obsolete obsolete
+./usr/share/man/html3/td_thr_info.html comp-obsolete obsolete
+./usr/share/man/html3/td_thr_iter.html comp-obsolete obsolete
./usr/share/man/html3/tdelete.html comp-c-htmlman html
./usr/share/man/html3/telldir.html comp-c-htmlman html
./usr/share/man/html3/tempnam.html comp-c-htmlman html
@@ -23204,7 +23204,7 @@
./usr/share/man/man3/pthread_condattr_setpshared.3 comp-c-man .man
./usr/share/man/man3/pthread_create.3 comp-c-man .man
./usr/share/man/man3/pthread_curcpu_np.3 comp-c-man .man
-./usr/share/man/man3/pthread_dbg.3 comp-c-man .man
+./usr/share/man/man3/pthread_dbg.3 comp-obsolete obsolete
./usr/share/man/man3/pthread_detach.3 comp-c-man .man
./usr/share/man/man3/pthread_equal.3 comp-c-man .man
./usr/share/man/man3/pthread_exit.3 comp-c-man .man
@@ -24141,12 +24141,12 @@
./usr/share/man/man3/tcsendbreak.3 comp-c-man .man
./usr/share/man/man3/tcsetattr.3 comp-c-man .man
./usr/share/man/man3/tcsetpgrp.3 comp-c-man .man
-./usr/share/man/man3/td_close.3 comp-c-man .man
-./usr/share/man/man3/td_map_pth2thr.3 comp-c-man .man
-./usr/share/man/man3/td_open.3 comp-c-man .man
-./usr/share/man/man3/td_thr_getname.3 comp-c-man .man
-./usr/share/man/man3/td_thr_info.3 comp-c-man .man
-./usr/share/man/man3/td_thr_iter.3 comp-c-man .man
+./usr/share/man/man3/td_close.3 comp-obsolete obsolete
+./usr/share/man/man3/td_map_pth2thr.3 comp-obsolete obsolete
+./usr/share/man/man3/td_open.3 comp-obsolete obsolete
+./usr/share/man/man3/td_thr_getname.3 comp-obsolete obsolete
+./usr/share/man/man3/td_thr_info.3 comp-obsolete obsolete
+./usr/share/man/man3/td_thr_iter.3 comp-obsolete obsolete
./usr/share/man/man3/tdelete.3 comp-c-man .man
./usr/share/man/man3/telldir.3 comp-c-man .man
./usr/share/man/man3/tempnam.3 comp-c-man .man
Index: src/distrib/sets/lists/comp/shl.mi
diff -u src/distrib/sets/lists/comp/shl.mi:1.299 src/distrib/sets/lists/comp/shl.mi:1.300
--- src/distrib/sets/lists/comp/shl.mi:1.299 Thu Jan 5 13:45:51 2017
+++ src/distrib/sets/lists/comp/shl.mi Wed Feb 8 03:44:40 2017
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.299 2017/01/05 13:45:51 wiz Exp $
+# $NetBSD: shl.mi,v 1.300 2017/02/08 03:44:40 kamil Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -133,7 +133,7 @@
./usr/lib/libproc.so.0 comp-c-shlib compatfile,dtrace
./usr/lib/libproc_pic.a comp-c-piclib compatfile,dtrace,picinstall
./usr/lib/libprop_pic.a comp-c-piclib compatfile,picinstall
-./usr/lib/libpthread_dbg_pic.a comp-c-piclib compatfile,picinstall
+./usr/lib/libpthread_dbg_pic.a comp-obsolete obsolete
./usr/lib/libpthread_pic.a comp-c-piclib compatfile,picinstall
./usr/lib/libpuffs_pic.a comp-puffs-piclib compatfile,picinstall
./usr/lib/libquota_pic.a comp-c-piclib compatfile,picinstall
Index: src/distrib/sets/lists/debug/mi
diff -u src/distrib/sets/lists/debug/mi:1.196 src/distrib/sets/lists/debug/mi:1.197
--- src/distrib/sets/lists/debug/mi:1.196 Mon Feb 6 19:45:17 2017
+++ src/distrib/sets/lists/debug/mi Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.196 2017/02/06 19:45:17 kre Exp $
+# $NetBSD: mi,v 1.197 2017/02/08 03:44:41 kamil Exp $
./etc/mtree/set.debug comp-sys-root
./usr/lib comp-sys-usr compatdir
./usr/lib/i18n/libBIG5_g.a comp-c-debuglib debuglib,compatfile
@@ -126,7 +126,7 @@
./usr/lib/libproc_g.a comp-c-libdebug debuglib,compatfile,dtrace
./usr/lib/libproc_p.a comp-c-debuglib debuglib,compatfile,dtrace
./usr/lib/libprop_g.a comp-c-debuglib debuglib,compatfile
-./usr/lib/libpthread_dbg_g.a comp-c-debuglib debuglib,compatfile
+./usr/lib/libpthread_dbg_g.a comp-obsolete obsolete
./usr/lib/libpthread_g.a comp-c-debuglib debuglib,compatfile
./usr/lib/libpuffs_g.a comp-c-debuglib debuglib,compatfile
./usr/lib/libquota_g.a comp-c-debuglib debuglib,compatfile
@@ -2197,8 +2197,8 @@
./usr/libdata/debug/usr/tests/lib/libpthread/t_status.debug tests-obsolete obsolete,compattestfile
./usr/libdata/debug/usr/tests/lib/libpthread/t_swapcontext.debug tests-lib-tests debug,atf,compattestfile
./usr/libdata/debug/usr/tests/lib/libpthread/t_timedmutex.debug tests-lib-tests debug,atf,compattestfile
-./usr/libdata/debug/usr/tests/lib/libpthread_dbg/t_dummy.debug tests-lib-tests debug,atf,compattestfile
-./usr/libdata/debug/usr/tests/lib/libpthread_dbg/t_threads.debug tests-lib-tests debug,atf,compattestfile
+./usr/libdata/debug/usr/tests/lib/libpthread_dbg/t_dummy.debug tests-obsolete obsolete
+./usr/libdata/debug/usr/tests/lib/libpthread_dbg/t_threads.debug tests-obsolete obsolete
./usr/libdata/debug/usr/tests/lib/librefuse/t_refuse_opt.debug tests-lib-debug debug,atf,compattestfile
./usr/libdata/debug/usr/tests/lib/librt/t_sched.debug tests-lib-debug debug,atf,compattestfile
./usr/libdata/debug/usr/tests/lib/librt/t_sem.debug tests-lib-debug debug,atf,compattestfile
Index: src/distrib/sets/lists/debug/shl.mi
diff -u src/distrib/sets/lists/debug/shl.mi:1.158 src/distrib/sets/lists/debug/shl.mi:1.159
--- src/distrib/sets/lists/debug/shl.mi:1.158 Tue Jan 31 23:19:20 2017
+++ src/distrib/sets/lists/debug/shl.mi Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.158 2017/01/31 23:19:20 christos Exp $
+# $NetBSD: shl.mi,v 1.159 2017/02/08 03:44:41 kamil Exp $
./usr/libdata/debug/lib base-sys-usr debug,dynamicroot,compatdir
./usr/libdata/debug/lib/libblacklist.so.0.0.debug comp-sys-debug debug,dynamicroot
./usr/libdata/debug/lib/libc.so.12.205.debug comp-sys-debug debug,dynamicroot
@@ -160,7 +160,7 @@
./usr/libdata/debug/usr/lib/libproc.so.0.0.debug comp-sys-debug debug,dtrace
./usr/libdata/debug/usr/lib/libprop.so.1.1.debug comp-sys-debug debug,compatfile
./usr/libdata/debug/usr/lib/libpthread.so.1.3.debug comp-sys-debug debug,compatfile
-./usr/libdata/debug/usr/lib/libpthread_dbg.so.2.0.debug comp-sys-debug debug,compatfile
+./usr/libdata/debug/usr/lib/libpthread_dbg.so.2.0.debug comp-obsolete obsolete
./usr/libdata/debug/usr/lib/libpuffs.so.2.0.debug comp-puffs-debug debug,compatfile
./usr/libdata/debug/usr/lib/libquota.so.1.0.debug comp-sys-debug debug,compatfile
./usr/libdata/debug/usr/lib/libradius.so.4.0.debug comp-net-debug debug,compatfile
Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.716 src/distrib/sets/lists/tests/mi:1.717
--- src/distrib/sets/lists/tests/mi:1.716 Thu Feb 2 22:07:33 2017
+++ src/distrib/sets/lists/tests/mi Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.716 2017/02/02 22:07:33 martin Exp $
+# $NetBSD: mi,v 1.717 2017/02/08 03:44:41 kamil Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -132,7 +132,7 @@
./usr/libdata/debug/usr/tests/lib/libprop tests-lib-debug compattestfile,atf
./usr/libdata/debug/usr/tests/lib/libpthread tests-lib-debug compattestfile,atf
./usr/libdata/debug/usr/tests/lib/libpthread/dlopen tests-lib-debug compattestfile,atf
-./usr/libdata/debug/usr/tests/lib/libpthread_dbg tests-lib-debug compattestfile,atf
+./usr/libdata/debug/usr/tests/lib/libpthread_dbg tests-obsolete obsolete
./usr/libdata/debug/usr/tests/lib/librefuse tests-lib-debug compattestfile,atf
./usr/libdata/debug/usr/tests/lib/librt tests-lib-debug compattestfile,atf
./usr/libdata/debug/usr/tests/lib/librumpclient tests-lib-debug compattestfile,atf
@@ -3049,11 +3049,11 @@
./usr/tests/lib/libpthread/t_status tests-obsolete obsolete
./usr/tests/lib/libpthread/t_swapcontext tests-lib-tests compattestfile,atf
./usr/tests/lib/libpthread/t_timedmutex tests-lib-tests compattestfile,atf
-./usr/tests/lib/libpthread_dbg tests-lib-tests compattestfile,atf
-./usr/tests/lib/libpthread_dbg/Atffile tests-lib-tests compattestfile,atf
-./usr/tests/lib/libpthread_dbg/Kyuafile tests-lib-tests compattestfile,atf,kyua
-./usr/tests/lib/libpthread_dbg/t_dummy tests-lib-tests compattestfile,atf
-./usr/tests/lib/libpthread_dbg/t_threads tests-lib-tests compattestfile,atf
+./usr/tests/lib/libpthread_dbg tests-obsolete obsolete
+./usr/tests/lib/libpthread_dbg/Atffile tests-obsolete obsolete
+./usr/tests/lib/libpthread_dbg/Kyuafile tests-obsolete obsolete
+./usr/tests/lib/libpthread_dbg/t_dummy tests-obsolete obsolete
+./usr/tests/lib/libpthread_dbg/t_threads tests-obsolete obsolete
./usr/tests/lib/librefuse tests-lib-tests compattestfile,atf
./usr/tests/lib/librefuse/Atffile tests-lib-tests compattestfile,atf
./usr/tests/lib/librefuse/t_refuse_opt tests-lib-tests compattestfile,atf
Index: src/doc/TODO.ptrace
diff -u src/doc/TODO.ptrace:1.14 src/doc/TODO.ptrace:1.15
--- src/doc/TODO.ptrace:1.14 Tue Feb 7 16:15:05 2017
+++ src/doc/TODO.ptrace Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-$NetBSD: TODO.ptrace,v 1.14 2017/02/07 16:15:05 kamil Exp $
+$NetBSD: TODO.ptrace,v 1.15 2017/02/08 03:44:41 kamil Exp $
Items we (currently) plan to finish in the ptrace(2) field:
@@ -16,7 +16,6 @@ Items we (currently) plan to finish in t
in all ports
- add proper implementation of PTRACE_VFORK for vfork(2)-like events
- remove exect(3) from libc - there is no usecase for it
- - remove pthread_dbg(3) from the base distribution
- research what happens when a tracee masks signals (including SIGTRAP) and a
breakpoint is triggered
- add ATF tests for SIGCHLD
Index: src/lib/Makefile
diff -u src/lib/Makefile:1.248 src/lib/Makefile:1.249
--- src/lib/Makefile:1.248 Fri Oct 14 17:29:29 2016
+++ src/lib/Makefile Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.248 2016/10/14 17:29:29 macallan Exp $
+# $NetBSD: Makefile,v 1.249 2017/02/08 03:44:41 kamil Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
@@ -25,7 +25,7 @@ SUBDIR+= libarch \
libcompat libcrypt \
libintl libipsec libkvm libm \
libossaudio libpci libpmc libposix libprop libpthread \
- libpthread_dbg libpuffs libresolv librmt librpcsvc librt \
+ libpuffs libresolv librmt librpcsvc librt \
libtelnet libterminfo \
libusbhid libutil libwrap liby libz
Index: src/lib/libpthread/README
diff -u src/lib/libpthread/README:1.6 src/lib/libpthread/README:1.7
--- src/lib/libpthread/README:1.6 Thu Apr 16 18:37:30 2009
+++ src/lib/libpthread/README Wed Feb 8 03:44:41 2017
@@ -1,7 +1,4 @@
-$NetBSD: README,v 1.6 2009/04/16 18:37:30 wiz Exp $
-
-When making changes to libpthread, please ensure that libpthread_dbg
-still compiles.
+$NetBSD: README,v 1.7 2017/02/08 03:44:41 kamil Exp $
Due to limitations in the current pthread implementation, makecontext(3)
and sigaltstack(2) should not be used in programs which link against
Index: src/lib/libpthread/TODO
diff -u src/lib/libpthread/TODO:1.17 src/lib/libpthread/TODO:1.18
--- src/lib/libpthread/TODO:1.17 Fri Feb 3 21:11:17 2012
+++ src/lib/libpthread/TODO Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.17 2012/02/03 21:11:17 joerg Exp $
+$NetBSD: TODO,v 1.18 2017/02/08 03:44:41 kamil Exp $
Interfaces/features to implement:
@@ -10,3 +10,5 @@ Interfaces/features to implement:
- Keep a pool of dead LWPs so that we do not have take the full hit of
_lwp_create() every time pthread_create() is called.
+
+- kill pthread__dbg (pthread_dbg(3) has been removed from base)
Index: src/lib/libpthread/pthread.3
diff -u src/lib/libpthread/pthread.3:1.16 src/lib/libpthread/pthread.3:1.17
--- src/lib/libpthread/pthread.3:1.16 Thu Nov 24 12:19:28 2016
+++ src/lib/libpthread/pthread.3 Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread.3,v 1.16 2016/11/24 12:19:28 wiz Exp $
+.\" $NetBSD: pthread.3,v 1.17 2017/02/08 03:44:41 kamil Exp $
.\"
.\" Copyright (c) 2003, 2007, 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -157,7 +157,6 @@ for
.Xr sh 1 ) .
.El
.Sh SEE ALSO
-.Xr pthread_dbg 3
.Rs
.%A David R. Butenhof
.%T Programming with POSIX(R) Threads
Index: src/lib/libpthread/pthread_int.h
diff -u src/lib/libpthread/pthread_int.h:1.92 src/lib/libpthread/pthread_int.h:1.93
--- src/lib/libpthread/pthread_int.h:1.92 Fri May 29 16:05:13 2015
+++ src/lib/libpthread/pthread_int.h Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_int.h,v 1.92 2015/05/29 16:05:13 christos Exp $ */
+/* $NetBSD: pthread_int.h,v 1.93 2017/02/08 03:44:41 kamil Exp $ */
/*-
* Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -29,11 +29,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-/*
- * NOTE: when changing anything in this file, please ensure that
- * libpthread_dbg still compiles.
- */
-
#ifndef _LIB_PTHREAD_INT_H
#define _LIB_PTHREAD_INT_H
Index: src/share/mk/bsd.README
diff -u src/share/mk/bsd.README:1.357 src/share/mk/bsd.README:1.358
--- src/share/mk/bsd.README:1.357 Sat Jan 7 22:27:36 2017
+++ src/share/mk/bsd.README Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.README,v 1.357 2017/01/07 22:27:36 christos Exp $
+# $NetBSD: bsd.README,v 1.358 2017/02/08 03:44:41 kamil Exp $
# @(#)bsd.README 8.2 (Berkeley) 4/2/94
This is the README file for the make "include" files for the NetBSD
@@ -1611,7 +1611,6 @@ DPADD Additional dependencies for the p
LIBPMC?= ${DESTDIR}/usr/lib/libpmc.a
LIBPOSIX?= ${DESTDIR}/usr/lib/libposix.a
LIBPTHREAD?= ${DESTDIR}/usr/lib/libpthread.a
- LIBPTHREAD_DBG?=${DESTDIR}/usr/lib/libpthread_dbg.a
LIBPUFFS?= ${DESTDIR}/usr/lib/libpuffs.a
LIBQUOTA?= ${DESTDIR}/usr/lib/libquota.a
LIBRADIUS?= ${DESTDIR}/usr/lib/libradius.a
Index: src/share/mk/bsd.hostprog.mk
diff -u src/share/mk/bsd.hostprog.mk:1.76 src/share/mk/bsd.hostprog.mk:1.77
--- src/share/mk/bsd.hostprog.mk:1.76 Fri Jan 1 17:06:21 2016
+++ src/share/mk/bsd.hostprog.mk Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.hostprog.mk,v 1.76 2016/01/01 17:06:21 christos Exp $
+# $NetBSD: bsd.hostprog.mk,v 1.77 2017/02/08 03:44:41 kamil Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.include <bsd.init.mk>
@@ -48,7 +48,6 @@ LIBPCI?= /usr/lib/libpci.a
LIBPLOT?= /usr/lib/libplot.a
LIBPOSIX?= /usr/lib/libposix.a
LIBPTHREAD?= /usr/lib/libpthread.a
-LIBPTHREAD_DBG?=/usr/lib/libpthread_dbg.a
LIBPUFFS?= /usr/lib/libpuffs.a
LIBQUOTA?= /usr/lib/libquota.a
LIBRESOLV?= /usr/lib/libresolv.a
Index: src/share/mk/bsd.prog.mk
diff -u src/share/mk/bsd.prog.mk:1.301 src/share/mk/bsd.prog.mk:1.302
--- src/share/mk/bsd.prog.mk:1.301 Sun Jan 29 21:43:56 2017
+++ src/share/mk/bsd.prog.mk Wed Feb 8 03:44:41 2017
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.301 2017/01/29 21:43:56 christos Exp $
+# $NetBSD: bsd.prog.mk,v 1.302 2017/02/08 03:44:41 kamil Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.ifndef HOSTPROG
@@ -163,7 +163,6 @@ LIBCRTI= ${DESTDIR}/usr/lib/${MLIBDIR:D$
pmc \
posix \
pthread \
- pthread_dbg \
puffs \
quota \
radius \
Index: src/tests/lib/Makefile
diff -u src/tests/lib/Makefile:1.27 src/tests/lib/Makefile:1.28
--- src/tests/lib/Makefile:1.27 Wed Nov 16 21:36:23 2016
+++ src/tests/lib/Makefile Wed Feb 8 03:44:41 2017
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.27 2016/11/16 21:36:23 kamil Exp $
+# $NetBSD: Makefile,v 1.28 2017/02/08 03:44:41 kamil Exp $
.include <bsd.own.mk>
TESTS_SUBDIRS= csu libbluetooth libc libcrypt libcurses libevent libexecinfo \
libm libobjc libposix libppath libprop libpthread \
- libpthread_dbg librefuse librt libtre libusbhid libutil \
+ librefuse librt libtre libusbhid libutil \
semaphore
.if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)