summaryrefslogtreecommitdiffstats
path: root/lib/librtld_db/librtld_db.3
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2014-08-08 14:53:01 +0000
committermarkj <markj@FreeBSD.org>2014-08-08 14:53:01 +0000
commit104ac38f1460820d67f63fd4e02d262275343491 (patch)
tree96e0030461156ee6b7872ae3a4af8a0e58bece20 /lib/librtld_db/librtld_db.3
parentcbab32ad75d301ca36f59879d25b708ea241d7d9 (diff)
downloadFreeBSD-src-104ac38f1460820d67f63fd4e02d262275343491.zip
FreeBSD-src-104ac38f1460820d67f63fd4e02d262275343491.tar.gz
MFC r265629, r265630
MFC r265629: Handle the different event types properly in rd_event_addr(). In particular, with r265456 _r_debug_postinit can be used for RD_POSTINIT events. rtld(1) uses r_debug_state for dl state transitions, so we use its address for RD_DLACTIVITY events. MFC r265630: Fix the rd_event_addr prototype and slightly clarify the use of the "event" parameter.
Diffstat (limited to 'lib/librtld_db/librtld_db.3')
-rw-r--r--lib/librtld_db/librtld_db.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/librtld_db/librtld_db.3 b/lib/librtld_db/librtld_db.3
index 0c9a762..4645142 100644
--- a/lib/librtld_db/librtld_db.3
+++ b/lib/librtld_db/librtld_db.3
@@ -48,7 +48,7 @@
.Fc
.Ft rd_err_e
.Fo rd_event_addr
-.Fa "rd_agent_t *rdap, rd_notify_t *notify"
+.Fa "rd_agent_t *rdap, rd_event_e event, rd_notify_t *notify"
.Fc
.Ft rd_err_e
.Fo rd_event_enable
@@ -142,10 +142,10 @@ enables reporting of events.
This function always returns RD_OK.
.Pp
.Fn rd_event_addr
-returns the event address in the
+returns the event address corresponding to the
.Ft event
parameter.
-At the moment we only report RD_NOTIFY_BPT events.
+At the moment we only report events of type RD_NOTIFY_BPT.
.Pp
.Fn rd_event_getmsg
returns the message associated with the latest event.
OpenPOWER on IntegriCloud