xref: /illumos-gate/usr/src/man/man3lib/librtld_db.3lib (revision 6140ef003e4253c1c1f0b9c100687487e4f1954b)
te
Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
librtld_db 3LIB "12 Oct 2007" "SunOS 5.11" "Interface Libraries"
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_deleterd_errstr
rd_event_addrrd_event_enable
rd_event_getmsgrd_init
rd_loadobj_iterrd_log
rd_newrd_objpad_enable
rd_plt_resolutionrd_reset
FILES

/lib/librtld_db.so.1

shared object

/lib/64/librtld_db.so.1

64-bit shared object

ATTRIBUTES

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

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelSafe
SEE ALSO

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

Linker and Libraries Guide