Home | History | Annotate | Download | only in gdb-7.6

Lines Matching refs:tid

64 _get_task_permitted_caps(int pid, int tid, uint64_t *cap)
75 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid);
173 int tid;
178 tid = atoi(entry->d_name);
179 if (tid == 0) /* should not happen - be safe */
182 if (_get_task_permitted_caps(target_pid, tid, &tid_caps) < 0) {
184 D("Could not get permitted caps for thread %d\n", tid);
244 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL);
249 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL);
250 gEventMsgHandle.tid = gEventMsgHandle.pid;
286 th->tid = lwpid;
294 info->ti_tid = handle->tid;
295 info->ti_lid = handle->tid; // Our pthreads uses kernel ids for tids
296 info->ti_state = TD_THR_SLEEP; /* XXX this needs to be read from /proc/<pid>/task/<tid>.
367 handle.tid = atoi(entry->d_name);