Linker and Libraries Guide

Debugger Interface Agents

An agent provides an opaque handle that can describe internal interface structures, and provides a mechanism of communication between the exported and imported interfaces. As the rtld-debugger interface is intended to be used by a debugger which can manipulate several processes at the same time, these agents are used to identify the process.

struct ps_prochandle

struct ps_prochandle;

An opaque structure created by the controlling process to identify the target process which is passed between the exported and imported interface.

struct rd_agent

struct rd_agent;

An opaque structure created by the rtld-debugger interface identifying the target process which is passed between the exported and imported interface.