]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r265456, r265578:
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Aug 2014 18:36:47 +0000 (18:36 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Aug 2014 18:36:47 +0000 (18:36 +0000)
commitdb89de647c8ef0760da4a13c83dea6305b748b53
tree41a88f5d1dfb9a03b88de120fe2dbb615db03792
parent81f12aeab1c5f35306fc1ba84566f83de13bec7b
MFC r265456, r265578:
Add a postinit debugger hook to rtld. This will be used by dtrace(1) to halt
the victim process before its entry point is called, at which point probes
and DOF data are registered with the kernel. The r_debug_state hook cannot
be used for this purpose, as it is called before the program's init routines
are invoked and in particular before DOF data is registered (via drti.o).

git-svn-id: svn://svn.freebsd.org/base/stable/10@269680 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
libexec/rtld-elf/Symbol.map
libexec/rtld-elf/rtld.c