]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r265631:
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Aug 2014 15:21:43 +0000 (15:21 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Aug 2014 15:21:43 +0000 (15:21 +0000)
commit080baf765176dde5ae19b3fffe84c565622836d9
treeff623afb45eb8dac87bdd56b3bf492b4438366b9
parentc455e4524f149dd247192d1391b284eba7fb8fac
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/10@269724 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c