]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r265631:
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Aug 2014 15:21:42 +0000 (15:21 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Aug 2014 15:21:42 +0000 (15:21 +0000)
commit71d4cccf66ea0f632e9edc3fb37cd3d0bd2b79ba
treee11513148d632c1369359c172768d3ed08f14e2c
parentbd71062c71b1c9d6cfe33846ea9c2ab5121ae7bf
MFC r265631:
Re-apply r248644. This fixes an annoying problem which caused dtrace -c to
fail to attach to stripped binaries. With the _r_debug_postinit symbol,
dtrace(1) can now set a breakpoint in the victim process after it has
registered its DOF table(s) with the kernel. r_debug_state cannot be used
for this purpose since it is called before DOF is made available, in which
case dtrace(1) cannot create USDT probes before the program begins
execution.

git-svn-id: svn://svn.freebsd.org/base/stable/9@269723 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c