Searched refs:tid (Results 1 - 25 of 152) sorted by relevance

1234567

/haiku-fatelf/src/bin/gdb/gdb/
H A Di386-linux-nat.c168 int tid;
179 tid = TIDGET (inferior_ptid);
180 if (tid == 0)
181 tid = PIDGET (inferior_ptid); /* Not a threaded program. */
184 val = ptrace (PTRACE_PEEKUSER, tid, register_addr (regno, 0), 0);
197 int tid;
205 tid = TIDGET (inferior_ptid);
206 if (tid == 0)
207 tid = PIDGET (inferior_ptid); /* Not a threaded program. */
211 ptrace (PTRACE_POKEUSER, tid, register_add
165 int tid; local
194 int tid; local
261 fetch_regs(int tid) argument
285 store_regs(int tid, int regno) argument
300 fetch_regs(int tid) argument
301 store_regs(int tid, int regno) argument
333 fetch_fpregs(int tid) argument
347 store_fpregs(int tid, int regno) argument
362 fetch_fpregs(int tid) argument
363 store_fpregs(int tid, int regno) argument
396 fetch_fpxregs(int tid) argument
423 store_fpxregs(int tid, int regno) argument
451 fetch_fpxregs(int tid) argument
452 store_fpxregs(int tid, int regno) argument
485 int tid; local
557 int tid; local
617 int tid; local
646 int tid; local
[all...]
H A Dm32r-linux-nat.c108 fetch_regs (int tid)
112 if (ptrace (PTRACE_GETREGS, tid, 0, (int) &regs) < 0)
156 store_regs (int tid, int regno)
160 if (ptrace (PTRACE_GETREGS, tid, 0, (int) &regs) < 0)
165 if (ptrace (PTRACE_SETREGS, tid, 0, (int) &regs) < 0)
197 int tid;
200 tid = TIDGET (inferior_ptid);
201 if (tid == 0)
202 tid = PIDGET (inferior_ptid); /* Not a threaded program. */
209 fetch_regs (tid);
106 fetch_regs(int tid) argument
154 store_regs(int tid, int regno) argument
193 int tid; local
219 int tid; local
[all...]
H A Damd64-linux-nat.c156 int tid;
159 tid = TIDGET (inferior_ptid);
160 if (tid == 0)
161 tid = PIDGET (inferior_ptid); /* Not a threaded program. */
167 if (ptrace (PTRACE_GETREGS, tid, 0, (long) &regs) < 0)
179 if (ptrace (PTRACE_GETFPREGS, tid, 0, (long) &fpregs) < 0)
193 int tid;
196 tid = TIDGET (inferior_ptid);
197 if (tid == 0)
198 tid
153 int tid; local
190 int tid; local
233 int tid; local
262 int tid; local
[all...]
H A Dm68klinux-nat.c138 int tid;
148 tid = TIDGET (inferior_ptid);
149 if (tid == 0)
150 tid = PIDGET (inferior_ptid); /* no thread id, just use process id */
159 *(PTRACE_XFER_TYPE *) &buf[i] = ptrace (PT_READ_U, tid,
202 int tid;
211 tid = TIDGET (inferior_ptid);
212 if (tid == 0)
213 tid = PIDGET (inferior_ptid); /* no thread id, just use process id */
227 ptrace (PT_WRITE_U, tid, (PTRACE_ARG3_TYP
135 int tid; local
199 int tid; local
306 fetch_regs(int tid) argument
330 store_regs(int tid, int regno) argument
345 fetch_regs(int tid) argument
346 store_regs(int tid, int regno) argument
403 fetch_fpregs(int tid) argument
417 store_fpregs(int tid, int regno) argument
432 fetch_fpregs(int tid) argument
433 store_fpregs(int tid, int regno) argument
448 int tid; local
504 int tid; local
[all...]
H A Dppc-linux-nat.c224 fetch_altivec_register (int tid, int regno) argument
232 ret = ptrace (PTRACE_GETVRREGS, tid, 0, &regs);
263 get_spe_registers (int tid, struct gdb_evrregset_t *evrregset) argument
267 if (ptrace (PTRACE_GETEVRREGS, tid, 0, evrregset) >= 0)
289 fetch_spe_register (int tid, int regno) argument
301 get_spe_registers (tid, &evrregs);
327 fetch_register (int tid, int regno) argument
344 fetch_altivec_register (tid, regno);
353 fetch_spe_register (tid, regno);
373 = ptrace (PT_READ_U, tid, (PTRACE_ARG3_TYP
432 fetch_altivec_registers(int tid) argument
451 fetch_ppc_registers(int tid) argument
490 int tid = TIDGET (inferior_ptid); local
504 store_altivec_register(int tid, int regno) argument
545 set_spe_registers(int tid, struct gdb_evrregset_t *evrregset) argument
569 store_spe_register(int tid, int regno) argument
623 store_register(int tid, int regno) argument
712 store_altivec_registers(int tid) argument
735 store_ppc_registers(int tid) argument
771 int tid = TIDGET (inferior_ptid); local
[all...]
H A Ds390-nat.c120 int tid = TIDGET (inferior_ptid); local
121 if (tid == 0)
122 tid = PIDGET (inferior_ptid); /* Not a threaded program. */
124 return tid;
130 fetch_regs (int tid) argument
138 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea) < 0)
147 store_regs (int tid, int regnum) argument
155 if (ptrace (PTRACE_PEEKUSR_AREA, tid, (long) &parea) < 0)
160 if (ptrace (PTRACE_POKEUSR_AREA, tid, (long) &parea) < 0)
167 fetch_fpregs (int tid) argument
184 store_fpregs(int tid, int regnum) argument
206 int tid = s390_inferior_tid (); local
222 int tid = s390_inferior_tid (); local
274 int tid = s390_inferior_tid (); local
[all...]
H A Dgnu-nat.h32 struct proc *inf_tid_to_thread (struct inf *inf, int tid);
42 int tid; /* The GDB pid (actually a thread id). */ member in struct:proc
76 #define proc_is_task(proc) ((proc)->tid == PROC_TID_TASK)
77 #define proc_is_thread(proc) ((proc)->tid != PROC_TID_TASK)
93 __proc_pid (__proc), __proc->tid, __proc , ##args); } while (0)
H A Darm-linux-nat.c90 int tid = TIDGET (ptid); local
91 if (0 == tid)
92 tid = PIDGET (ptid);
93 return tid;
229 int ret, tid; local
233 tid = GET_THREAD_ID (inferior_ptid);
236 ret = ptrace (PT_GETFPREGS, tid, 0, &fp);
278 int ret, regno, tid; local
282 tid = GET_THREAD_ID (inferior_ptid);
285 ret = ptrace (PT_GETFPREGS, tid,
326 int ret, tid; local
364 int ret, regno, tid; local
402 int ret, tid; local
442 int ret, regno, tid; local
476 int ret, tid; local
507 int ret, regno, tid; local
[all...]
H A Dinfttrace.c354 lwpid_t tid; /* Thread ID */
603 create_thread_info (int pid, lwpid_t tid)
611 new_p->tid = tid;
628 printf ("First thread, pid %d tid %d!\n", pid, tid);
636 printf ("Subsequent thread, pid %d tid %d\n", pid, tid);
718 /* Given a tid, find the thread block for it.
721 find_thread_info (lwpid_t tid)
353 lwpid_t tid; /* Thread ID */ member in struct:thread_info_struct
599 create_thread_info(int pid, lwpid_t tid) argument
717 find_thread_info(lwpid_t tid) argument
845 is_pseudo_thread(lwpid_t tid) argument
857 is_terminated(lwpid_t tid) argument
872 lwpid_t tid; local
909 add_tthread(int pid, lwpid_t tid) argument
923 del_tthread(lwpid_t tid) argument
1008 get_pid_for(lwpid_t tid) argument
1034 set_handled(int pid, lwpid_t tid) argument
1048 was_handled(lwpid_t tid) argument
1062 clear_handled(lwpid_t tid) argument
1104 clear_stepping_mode(lwpid_t tid) argument
1280 call_real_ttrace(ttreq_t request, pid_t pid, lwpid_t tid, TTRACE_ARG_TYPE addr, TTRACE_ARG_TYPE data, TTRACE_ARG_TYPE addr2) argument
1334 call_real_ttrace_wait(int pid, lwpid_t tid, ttwopt_t option, ttstate_t *tsp, size_t tsp_size) argument
1788 lwpid_t candidate_tid, tid; local
1942 int tid; /* really lwpid_t */ local
2997 lwpid_t tid; local
3047 lwpid_t tid; local
3153 hppa_enable_catch_fork(int tid) argument
3187 hppa_disable_catch_fork(int tid) argument
3224 child_insert_fork_catchpoint(int tid) argument
3237 child_remove_fork_catchpoint(int tid) argument
3249 hppa_enable_catch_vfork(int tid) argument
3285 hppa_disable_catch_vfork(int tid) argument
3320 child_insert_vfork_catchpoint(int tid) argument
3333 child_remove_vfork_catchpoint(int tid) argument
3350 hpux_has_forked(int tid, int *childpid) argument
3391 hpux_has_vforked(int tid, int *childpid) argument
3430 child_insert_exec_catchpoint(int tid) argument
3443 child_remove_exec_catchpoint(int tid) argument
3455 hpux_has_execd(int tid, char **execd_pathname) argument
3554 lwpid_t tid; local
3578 read_from_register_save_state(int tid, TTRACE_ARG_TYPE ss_offset, char *buf, int sizeof_buf) argument
3610 write_to_register_save_state(int tid, TTRACE_ARG_TYPE ss_offset, char *buf, int sizeof_buf) argument
3779 int tid; local
4161 thread_fake_step(lwpid_t tid, enum target_signal signal) argument
4287 lwpid_t tid; local
4569 lwpid_t tid; local
4977 child_pid_to_exec_file(int tid) argument
5542 lwpid_t tid; local
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/behavior/timers/
H A D1-1.c21 timer_t tid; local
28 if (timer_create(CLOCK_REALTIME, NULL, &tid) != 0) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/timer_gettime/
H A D2-1.c27 timer_t tid; local
33 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
38 if (timer_gettime(tid, &its) != 0) {
H A D2-2.c29 timer_t tid; local
40 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
48 if (timer_settime(tid, 0, &itsset, NULL) != 0) {
58 if (timer_gettime(tid, &itsget) != 0) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sched_setscheduler/
H A D15-1.c33 pthread_t tid; local
53 if(pthread_create(&tid, &attr, runner, NULL) != 0) {
69 if(pthread_getschedparam(tid , &policy, &param) != 0) {
74 pthread_cancel(tid);
H A D15-2.c33 pthread_t tid; local
59 if(pthread_create(&tid, &attr, runner, NULL) != 0) {
75 if(pthread_getschedparam(tid , &policy, &param) != 0) {
80 pthread_cancel(tid);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/timer_delete/
H A D1-2.c32 timer_t tid; local
38 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
43 if (timer_delete(tid) != 0) {
53 if (timer_settime(tid, 0, &its, NULL) == -1) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/timer_settime/
H A D8-3.c34 timer_t tid; local
44 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
49 if (timer_settime(tid, 0, &its, &oits) != 0) {
56 if (timer_settime(tid, 0, &its, &oits) != 0) {
H A D8-4.c31 timer_t tid; local
41 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
46 if (timer_settime(tid, 0, &its, &oits) != 0) {
54 if (timer_settime(tid, 0, &its, &oits) != 0) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/timer_create/
H A D16-1.c23 timer_t tid; local
28 if (timer_create(INVALIDCLOCKID, &ev, &tid) == -1) {
H A D9-1.c41 timer_t tid; local
64 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
69 if (timer_settime(tid, 0, &its, NULL) != 0) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/timer_create/speculative/
H A D2-1.c36 timer_t tid; local
57 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
66 tids[i] = tid;
67 if (lfind(&tid, tids, &i, sizeof(timer_t), compare) != NULL) {
68 printf("Duplicate tid found %ld\n", (long)tid);
H A D15-1.c33 timer_t tid; local
40 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) {
/haiku-fatelf/src/tests/kits/app/blooper/
H A DLooperForThreadTest.cpp23 @case tid is valid
28 thread_id tid = Looper->Run(); local
29 CPPUNIT_ASSERT(Looper == BLooper::LooperForThread(tid));
36 @case tid is not valid
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sched_setparam/
H A D20-1.c33 pthread_t tid; local
60 if(pthread_create(&tid, &attr, runner, NULL) != 0) {
72 if(pthread_getschedparam(tid , &policy, &param) != 0) {
77 pthread_cancel(tid);
H A D21-1.c33 pthread_t tid; local
64 if(pthread_create(&tid, &attr, runner, NULL) != 0) {
70 if(pthread_getschedparam(tid , &policy, &param) != 0) {
75 pthread_cancel(tid);
H A D21-2.c33 pthread_t tid; local
65 if(pthread_create(&tid, &attr, runner, NULL) != 0) {
71 if(pthread_getschedparam(tid , &policy, &param) != 0) {
76 pthread_cancel(tid);

Completed in 88 milliseconds

1234567