LIBRTLD_DB(3LIB) Interface Libraries LIBRTLD_DB(3LIB)

NAME


librtld_db - runtime linker debugging library

SYNOPSIS


cc [ flag ... ] file ... -lrtld_db [ library ... ]
#include <proc_service.h>
#include <rtld_db.h>


DESCRIPTION


Functions is this library are useful for building debuggers for
dynamically linked programs. For a full description of these interfaces
refer to the Linker and Libraries Guide.


To use librtld_db, applications need to implement the interfaces
documented in ps_pread(3PROC) and proc_service(3PROC).

INTERFACES


The shared object librtld_db.so.1 provides the public interfaces defined
below. See Intro(3) for additional information on shared object
interfaces.


rd_delete rd_errstr
rd_event_addr rd_event_enable
rd_event_getmsg rd_init
rd_loadobj_iter rd_log
rd_new rd_objpad_enable
rd_plt_resolution rd_reset


FILES


/lib/librtld_db.so.1
shared object


/lib/64/librtld_db.so.1
64-bit shared object


ATTRIBUTES


See attributes(7) for description of the following attributes:


+---------------+-----------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------+
|MT-Level | Safe |
+---------------+-----------------+

SEE ALSO


ld.so.1(1), pvs(1), Intro(3), rtld_db(3EXT), proc_service(3PROC),
ps_pread(3PROC), attributes(7)


Linker and Libraries Guide

October 12, 2007 LIBRTLD_DB(3LIB)