Lines Matching defs:lwpid
404 Int lwpid;
595 (unsigned char *)&(vgdb_threads[i].lwpid),
598 ERROR(rw, "lwpid ptrace_read_memory\n");
603 DEBUG(1, "found tid %d status %s lwpid %d\n",
605 vgdb_threads[i].lwpid);
607 if (vgdb_threads[i].lwpid <= 1) {
608 if (vgdb_threads[i].lwpid == 0
610 DEBUG(1, "not set lwpid tid %d status %s lwpid %d\n",
612 vgdb_threads[i].lwpid);
614 ERROR(1, "unexpected lwpid tid %d status %s lwpid %d\n",
616 vgdb_threads[i].lwpid);
618 /* in case we have a VtTs_Init thread with lwpid not yet set,
622 if (vgdb_threads[i].lwpid == pid) {
627 if (!attach(vgdb_threads[i].lwpid, "attach_thread")) {
629 vgdb_threads[i].lwpid, i);
654 && vgdb_threads[i].lwpid == 0) {
656 vgdb_threads[i].lwpid, i,
659 if (vgdb_threads[i].lwpid == pid) {
664 vgdb_threads[i].lwpid, i,
666 res = ptrace (PTRACE_DETACH, vgdb_threads[i].lwpid, NULL, NULL);
669 vgdb_threads[i].lwpid, i,