Lines Matching refs:unwound
500 assert (state->unwound == NULL); in new_unwound()
506 Dwfl_Frame *unwound; in new_unwound() local
507 unwound = malloc (sizeof (*unwound) + sizeof (*unwound->regs) * nregs); in new_unwound()
508 state->unwound = unwound; in new_unwound()
509 unwound->thread = thread; in new_unwound()
510 unwound->unwound = NULL; in new_unwound()
511 unwound->signal_frame = false; in new_unwound()
512 unwound->initial_frame = false; in new_unwound()
513 unwound->pc_state = DWFL_FRAME_STATE_ERROR; in new_unwound()
514 memset (unwound->regs_set, 0, sizeof (unwound->regs_set)); in new_unwound()
532 Dwfl_Frame *unwound = state->unwound; in handle_cfi() local
533 unwound->signal_frame = frame->fde->cie->signal_frame; in handle_cfi()
562 unwound->pc_state = DWFL_FRAME_STATE_PC_UNDEFINED; in handle_cfi()
601 if (! __libdwfl_frame_reg_set (unwound, regno, regval)) in handle_cfi()
613 if (unwound->pc_state == DWFL_FRAME_STATE_ERROR in handle_cfi()
614 && __libdwfl_frame_reg_get (unwound, in handle_cfi()
616 &unwound->pc)) in handle_cfi()
620 if (unwound->pc == 0) in handle_cfi()
621 unwound->pc_state = DWFL_FRAME_STATE_PC_UNDEFINED; in handle_cfi()
623 unwound->pc_state = DWFL_FRAME_STATE_PC_SET; in handle_cfi()
632 Dwfl_Frame *unwound = state->unwound; in setfunc() local
637 assert (unwound->pc_state == DWFL_FRAME_STATE_PC_UNDEFINED); in setfunc()
638 unwound->pc = *regs; in setfunc()
639 unwound->pc_state = DWFL_FRAME_STATE_PC_SET; in setfunc()
643 if (! __libdwfl_frame_reg_set (unwound, firstreg++, *regs++)) in setfunc()
673 if (state->unwound) in __libdwfl_frame_unwind()
694 if (state->unwound) in __libdwfl_frame_unwind()
701 if (state->unwound) in __libdwfl_frame_unwind()
705 assert (state->unwound == NULL); in __libdwfl_frame_unwind()
710 state->unwound->pc_state = DWFL_FRAME_STATE_PC_UNDEFINED; in __libdwfl_frame_unwind()
717 assert (state->unwound->unwound == NULL); in __libdwfl_frame_unwind()
718 free (state->unwound); in __libdwfl_frame_unwind()
719 state->unwound = NULL; in __libdwfl_frame_unwind()
723 assert (state->unwound->pc_state == DWFL_FRAME_STATE_PC_SET); in __libdwfl_frame_unwind()
724 state->unwound->signal_frame = signal_frame; in __libdwfl_frame_unwind()