ddpi_stackstate_set_parent_locn operation

The ddpi_stackstate_set_parent_locn operation assigns the given parent stack frame location to the Ddpi_StackState parent stack location.

Prototype

int ddpi_stackstate_set_parent_locn(
  Ddpi_StackState       stackstate,
  Dwarf_Addr            new_parent_locn,
  Ddpi_Error*           error);

Parameters

stackstate
Input. This accepts the Ddpi_StackState object.
new_parent_locn
Input. This accepts the new parent stack frame location.
error
See The libddpi error parameter.

Return values

DW_DLV_OK
Returned when the parent stack address for the current stack frame has been successfully assigned.
DW_DLV_NO_ENTRY
Never returned.
DW_DLV_ERROR
This value is returned if:
  • stackstate is NULL.
  • The Ddpi_Info object associated with stackstate is NULL.