Lines Matching refs:pid

247   nub_process_t pid = DNBProcessLaunch(  in RNBRunLoopLaunchInferior()  local
252 g_pid = pid; in RNBRunLoopLaunchInferior()
254 if (pid == INVALID_NUB_PROCESS && strlen(launch_err_str) > 0) { in RNBRunLoopLaunchInferior()
259 } else if (pid == INVALID_NUB_PROCESS) { in RNBRunLoopLaunchInferior()
297 while (pid != INVALID_NUB_PROCESS) { in RNBRunLoopLaunchInferior()
303 __FUNCTION__, pid); in RNBRunLoopLaunchInferior()
305 DNBProcessWaitForEvents(pid, eEventProcessRunningStateChanged | in RNBRunLoopLaunchInferior()
312 __FUNCTION__, pid, set_events); in RNBRunLoopLaunchInferior()
315 pid = INVALID_NUB_PROCESS; in RNBRunLoopLaunchInferior()
316 g_pid = pid; in RNBRunLoopLaunchInferior()
320 nub_state_t pid_state = DNBProcessGetState(pid); in RNBRunLoopLaunchInferior()
324 __FUNCTION__, pid, DNBStateAsString(pid_state)); in RNBRunLoopLaunchInferior()
341 ctx.SetProcessID(pid); in RNBRunLoopLaunchInferior()
346 pid = INVALID_NUB_PROCESS; in RNBRunLoopLaunchInferior()
347 g_pid = pid; in RNBRunLoopLaunchInferior()
352 DNBProcessResetEvents(pid, set_events); in RNBRunLoopLaunchInferior()
365 nub_process_t &pid) { in RNBRunLoopLaunchAttaching() argument
371 pid = DNBProcessAttach(attach_pid, NULL, ctx.GetIgnoredExceptions(), err_str, in RNBRunLoopLaunchAttaching()
373 g_pid = pid; in RNBRunLoopLaunchAttaching()
375 if (pid == INVALID_NUB_PROCESS) { in RNBRunLoopLaunchAttaching()
381 ctx.SetProcessID(pid); in RNBRunLoopLaunchAttaching()
423 nub_process_t pid = ctx.ProcessID(); in HandleProcessStateChange() local
425 if (pid == INVALID_NUB_PROCESS) { in HandleProcessStateChange()
430 nub_state_t pid_state = DNBProcessGetState(pid); in HandleProcessStateChange()
459 ctx.SetProcessStopCount(DNBProcessGetStopCount(pid)); in HandleProcessStateChange()
587 nub_process_t pid = ctx.ProcessID(); in RNBRunLoopInferiorExecuting() local
594 pid); in RNBRunLoopInferiorExecuting()
595 DNBProcessDetach(pid); in RNBRunLoopInferiorExecuting()
597 DNBLog("debugserver killing the inferior process, pid %d.", pid); in RNBRunLoopInferiorExecuting()
598 DNBProcessKill(pid); in RNBRunLoopInferiorExecuting()
604 pid); in RNBRunLoopInferiorExecuting()
605 DNBProcessDetach(pid); in RNBRunLoopInferiorExecuting()
1540 nub_process_t pid = DNBProcessAttachWait( in main() local
1543 g_pid = pid; in main()
1545 if (pid == INVALID_NUB_PROCESS) { in main()
1553 ctx.SetProcessID(pid); in main()
1576 nub_process_t pid = DNBProcessAttachByName( in main() local
1579 g_pid = pid; in main()
1580 if (pid == INVALID_NUB_PROCESS) { in main()
1588 ctx.SetProcessID(pid); in main()