Lines Matching refs:dwarf
35 Debug (1, "(cursor=%p, ip=0x%08x)\n", c, (unsigned) c->dwarf.ip); in unw_step()
40 unw_word_t old_ip = c->dwarf.ip; in unw_step()
41 unw_word_t old_cfa = c->dwarf.cfa; in unw_step()
45 ret = dwarf_step (&c->dwarf); in unw_step()
76 ret = dwarf_get (&c->dwarf, c->dwarf.loc[EBP], &c->dwarf.cfa); in unw_step()
83 Debug (13, "[EBP=0x%x] = 0x%x\n", DWARF_GET_LOC (c->dwarf.loc[EBP]), in unw_step()
84 c->dwarf.cfa); in unw_step()
86 ebp_loc = DWARF_LOC (c->dwarf.cfa, 0); in unw_step()
87 eip_loc = DWARF_LOC (c->dwarf.cfa + 4, 0); in unw_step()
88 c->dwarf.cfa += 8; in unw_step()
94 c->dwarf.loc[i] = DWARF_NULL_LOC; in unw_step()
96 c->dwarf.loc[EBP] = ebp_loc; in unw_step()
97 c->dwarf.loc[EIP] = eip_loc; in unw_step()
99 c->dwarf.ret_addr_column = EIP; in unw_step()
101 if (!DWARF_IS_NULL_LOC (c->dwarf.loc[EBP])) in unw_step()
103 ret = dwarf_get (&c->dwarf, c->dwarf.loc[EIP], &c->dwarf.ip); in unw_step()
106 Debug (13, "dwarf_get([EIP=0x%x]) failed\n", DWARF_GET_LOC (c->dwarf.loc[EIP])); in unw_step()
112 Debug (13, "[EIP=0x%x] = 0x%x\n", DWARF_GET_LOC (c->dwarf.loc[EIP]), in unw_step()
113 c->dwarf.ip); in unw_step()
117 c->dwarf.ip = 0; in unw_step()
128 if (c->dwarf.ip) in unw_step()
131 c->dwarf.ip--; in unw_step()
135 if (old_ip == c->dwarf.ip && old_cfa == c->dwarf.cfa) in unw_step()
138 __FUNCTION__, (long) c->dwarf.ip); in unw_step()
141 c->dwarf.frame++; in unw_step()
147 return (c->dwarf.ip == 0) ? 0 : 1; in unw_step()