Searched refs:proc_handle (Results 1 – 3 of 3) sorted by relevance
74 static struct ps_prochandle proc_handle; variable667 gdb_assert (proc_handle.pid == 0); in thread_db_new_objfile()683 proc_handle.pid = GET_PID (inferior_ptid); in thread_db_new_objfile()686 err = td_ta_new_p (&proc_handle, &thread_agent); in thread_db_new_objfile()782 proc_handle.pid = GET_PID (inferior_ptid); in thread_db_attach()820 proc_handle.pid = 0; in thread_db_detach()943 if (proc_handle.pid == 0) in thread_db_wait()1093 if (proc_handle.pid == 0) in thread_db_post_startup_inferior()1097 proc_handle.pid = GET_PID (ptid); in thread_db_post_startup_inferior()1112 proc_handle.pid = 0; in thread_db_mourn_inferior()
50 static struct ps_prochandle proc_handle; variable345 proc_handle.pid = ((struct inferior_list_entry *)current_inferior)->id; in thread_db_init()347 err = td_ta_new (&proc_handle, &thread_agent); in thread_db_init()
1589 HANDLE proc_handle, token; local1605 proc_handle = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, pid);1607 if (!proc_handle)1610 ret = OpenProcessToken(proc_handle, TOKEN_QUERY, &token);1611 CloseHandle(proc_handle);