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_Debugobject to the givenDdpi_Accessobject. - DW_DLV_NO_ENTRY
- Never returned.
- DW_DLV_ERROR
- Returned if:
accessis NULL.- The
Ddpi_Infoobject associated withaccessis NULL.