ddpi_access_set_debug operation

The ddpi_access_set_debug operation sets the Dwarf_Debug object for the given Ddpi_Access object.

The given debug value is not verified in any way. If an older value is being replaced, the caller must properly handle it (for example, the caller must terminate the older value).

Prototype

int ddpi_access_set_debug(
  Ddpi_Access           access,
  Dwarf_Debug           debug,
  Ddpi_Error*           error);         

Parameters

access
Input. This accepts the Ddpi_Access object.
debug
Input. This accepts the debug instance.
error
See The libddpi error parameter.

Return values

DW_DLV_OK
Returned upon successful assignment of the Dwarf_Debug object to the given Ddpi_Access object.
DW_DLV_NO_ENTRY
Never returned.
DW_DLV_ERROR
Returned if:
  • access is NULL.
  • The Ddpi_Info object associated with access is NULL.