Deleted Added
full compact
librtld_db.3 (210769) librtld_db.3 (210823)
1.\"-
2.\" Copyright (c) 2010 The FreeBSD Foundation
3.\" All rights reserved.
4.\"
5.\" This software was developed by Rui Paulo under sponsorship from
6.\" the FreeBSD Foundation.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 12 unchanged lines hidden (view full) ---

21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
1.\"-
2.\" Copyright (c) 2010 The FreeBSD Foundation
3.\" All rights reserved.
4.\"
5.\" This software was developed by Rui Paulo under sponsorship from
6.\" the FreeBSD Foundation.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 12 unchanged lines hidden (view full) ---

21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.\" $FreeBSD: head/lib/librtld_db/librtld_db.3 210769 2010-08-02 15:15:24Z uqs $
29.\" $FreeBSD: head/lib/librtld_db/librtld_db.3 210823 2010-08-03 17:40:09Z joel $
30.\"
31.Dd June 10, 2010
32.Dt LIBRTLD_DB 3
33.Os
34.Sh NAME
35.Nm librtld_db
36.Nd library for run-time linker debugging
37.Sh LIBRARY

--- 88 unchanged lines hidden (view full) ---

126.Ft proc_handle
127you received from
128.Xr libproc 3 .
129.Pp
130.Fn rd_reset
131resets your previously created agent.
132.Pp
133.Fn rd_delete
30.\"
31.Dd June 10, 2010
32.Dt LIBRTLD_DB 3
33.Os
34.Sh NAME
35.Nm librtld_db
36.Nd library for run-time linker debugging
37.Sh LIBRARY

--- 88 unchanged lines hidden (view full) ---

126.Ft proc_handle
127you received from
128.Xr libproc 3 .
129.Pp
130.Fn rd_reset
131resets your previously created agent.
132.Pp
133.Fn rd_delete
134dealocates the resources associated with the agent.
134deallocates the resources associated with the agent.
135.Pp
136.Fn rd_errstr
137returns an error string describing the error present in
138.Ft rderr .
139.Pp
140.Fn rd_event_enable
141enables reporting of events.
142This function always returns RD_OK.
143.Pp
144.Fn rd_event_addr
145returns the event address in the
146.Ft event
135.Pp
136.Fn rd_errstr
137returns an error string describing the error present in
138.Ft rderr .
139.Pp
140.Fn rd_event_enable
141enables reporting of events.
142This function always returns RD_OK.
143.Pp
144.Fn rd_event_addr
145returns the event address in the
146.Ft event
147paramenter.
147parameter.
148At the moment we only report RD_NOTIFY_BPT events.
149.Pp
150.Fn rd_event_getmsg
148At the moment we only report RD_NOTIFY_BPT events.
149.Pp
150.Fn rd_event_getmsg
151returns the message assoicated wit hthe latest event.
151returns the message associated with the latest event.
152At the moment only RD_POSTINIT events are supported.
153.Pp
154.Fn rd_loadobj_iter
155allows you to iterate over the program's loaded objects.
156.Ft cb
157is a callback of type
158.Fn rl_iter_f .
159.Sh RETURN VALUES

--- 32 unchanged lines hidden ---
152At the moment only RD_POSTINIT events are supported.
153.Pp
154.Fn rd_loadobj_iter
155allows you to iterate over the program's loaded objects.
156.Ft cb
157is a callback of type
158.Fn rl_iter_f .
159.Sh RETURN VALUES

--- 32 unchanged lines hidden ---