Lines Matching refs:pid
174 pid_t pid);
185 pid_t pid)
206 vrs->core.r[i] = get_remote_word(pid, ptr);
226 selfrel_offset31 (const _uw *p, pid_t pid)
228 _uw offset = get_remote_word(pid, (void*)p);
246 pid_t pid)
261 this_fn = selfrel_offset31 (&table[n].fnoffset, pid);
263 next_fn = selfrel_offset31 (&table[n + 1].fnoffset, pid) - 1;
282 get_eitp(_uw return_address, pid_t pid, mapinfo *map, mapinfo **containing_map)
304 eitp = search_EIT_table (eitp, nrec, return_address, pid);
314 get_eit_entry (_Unwind_Control_Block *ucbp, _uw return_address, pid_t pid,
319 eitp = get_eitp(return_address, pid, map, containing_map);
326 ucbp->pr_cache.fnstart = selfrel_offset31 (&eitp->fnoffset, pid);
328 _uw eitp_content = get_remote_word(pid, (void *)&eitp->content);
350 (_Unwind_EHT_Header *) selfrel_offset31 (&eitp->content, pid);
355 if (get_remote_word(pid, ucbp->pr_cache.ehtp) & (1u << 31))
358 _uw idx = (get_remote_word(pid, ucbp->pr_cache.ehtp) >> 24) & 0xf;
374 UCB_PR_ADDR (ucbp) = selfrel_offset31 (ucbp->pr_cache.ehtp, pid);
384 static _Unwind_Reason_Code log_function(_Unwind_Context *context, pid_t pid,
430 prev_word = get_remote_word(pid, (void *) pc-4);
465 int unwind_backtrace_with_ptrace(int tfd, pid_t pid, mapinfo *map,
478 if(ptrace(PTRACE_GETREGS, pid, 0, &r)) return 0;
496 if (get_eitp(saved_vrs.core.r[R_PC], pid, map, NULL) == NULL) {
498 log_function ((_Unwind_Context *) &saved_vrs, pid, tfd, stack_level,
507 if (get_eit_entry(ucbp, saved_vrs.core.r[R_PC], pid, map, &this_map)
532 if (log_function ((_Unwind_Context *) &saved_vrs, pid, tfd, stack_level,
542 (void *) &saved_vrs, pid);
565 pid_t pid)
574 uws.data = get_remote_word(pid, data);
598 while (get_remote_word(pid, data)) {
612 if (unwind_execute_with_ptrace (context, &uws, pid) != _URC_OK)
633 pid_t pid)
635 return unwind_pr_common_with_ptrace (state, ucbp, context, 0, pid);
642 pid_t pid)
644 return unwind_pr_common_with_ptrace (state, ucbp, context, 1, pid);
651 pid_t pid)
653 return unwind_pr_common_with_ptrace (state, ucbp, context, 2, pid);