]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r265456, r265578:
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Aug 2014 18:37:15 +0000 (18:37 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Aug 2014 18:37:15 +0000 (18:37 +0000)
commitd07e14f012e1667e3b0e0b2b4e0191e27da11ac2
tree3ac19e7a727329c890d2a6d54b2b5940f3015b77
parent5e15724d7996204f1a63901191c5dddd11522898
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/9@269681 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
libexec/rtld-elf/Symbol.map
libexec/rtld-elf/rtld.c