Lines Matching refs:pc
123 argcount_ctf(struct ps_prochandle *P, long pc, uint_t *countp) in argcount_ctf() argument
130 if (Pxlookup_by_addr(P, pc, NULL, 0, &sym, &si) != 0) in argcount_ctf()
133 if ((ctfp = Paddr_to_ctf(P, pc)) == NULL) in argcount_ctf()
161 argcount(struct ps_prochandle *P, long pc, ssize_t sz) in argcount() argument
171 if (Pread(P, instr, sizeof (instr), pc) != sizeof (instr) || in argcount()
205 long pc; in Pstack_iter() member
212 prgreg_t pc, ctf_pc; in Pstack_iter() local
221 long pc; in Pstack_iter() member
235 ctf_pc = pc = regs[R_PC]; in Pstack_iter()
237 while (fp != 0 || pc != 0) { in Pstack_iter()
249 if (frame.pc != -1L) { in Pstack_iter()
254 argc = argcount(P, (long)frame.pc, sz); in Pstack_iter()
263 ctf_pc = frame.pc; in Pstack_iter()
265 gregs[R_PC] = pc; in Pstack_iter()
276 if (gregs[R_FP] != fp || gregs[R_PC] != pc) { in Pstack_iter()
278 pc = gregs[R_PC]; in Pstack_iter()
284 pc = frame.pc; in Pstack_iter()
296 pc = gregs[R_PC]; in Pstack_iter()