Lines Matching defs:pstatus
273 pstatus_t pstatus;
327 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1)
331 if ((pstatus.pr_lwp.pr_why != PR_FAULTED) ||
332 (pstatus.pr_lwp.pr_what != FLTBPT)) {
335 if ((pstatus.pr_lwp.pr_what <= MAXFAULT) &&
336 (pstatus.pr_lwp.pr_why == PR_FAULTED))
337 fltmsg = fault_strings[pstatus.pr_lwp.pr_what];
343 pstatus.pr_lwp.pr_why, fltmsg,
344 pstatus.pr_lwp.pr_what);
352 if ((bpt = find_bp(ph, pstatus.pr_lwp.pr_reg[R_PC])) ==
357 EC_WORD(pstatus.pr_lwp.pr_reg[R_PC]));
373 EC_WORD(pstatus.pr_lwp.pr_reg[R_PC]));
408 pstatus_t pstatus;
415 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1)
430 pc = pstatus.pr_lwp.pr_reg[R_PC];
457 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1)
459 pc = pstatus.pr_lwp.pr_reg[R_PC];
462 if ((pstatus.pr_lwp.pr_why != PR_FAULTED) ||
463 (pstatus.pr_lwp.pr_what != FLTTRACE)) {
465 "why: 0x%x what: 0x%x\n", pstatus.pr_lwp.pr_why,
466 pstatus.pr_lwp.pr_what);
474 pstatus.pr_lwp.pr_lwpid, pltbase, &rp) != RD_OK) {