Lines Matching refs:remote
77 RNBRunLoopGetStartModeFromRemote (RNBRemote* remote) in RNBRunLoopGetStartModeFromRemote() argument
81 if (remote) in RNBRunLoopGetStartModeFromRemote()
83 RNBContext& ctx = remote->Context(); in RNBRunLoopGetStartModeFromRemote()
105 err = remote->HandleReceivedPacket (&type); in RNBRunLoopGetStartModeFromRemote()
163 RNBRunLoopLaunchInferior (RNBRemote *remote, const char *stdin_path, const char *stdout_path, const… in RNBRunLoopLaunchInferior() argument
165 RNBContext& ctx = remote->Context(); in RNBRunLoopLaunchInferior()
251 if (remote->Comm().IsConnected()) in RNBRunLoopLaunchInferior()
266 err = remote->HandleReceivedPacket (&type); in RNBRunLoopLaunchInferior()
342 RNBRunLoopLaunchAttaching (RNBRemote *remote, nub_process_t attach_pid, nub_process_t& pid) in RNBRunLoopLaunchAttaching() argument
344 RNBContext& ctx = remote->Context(); in RNBRunLoopLaunchAttaching()
408 HandleProcessStateChange (RNBRemote *remote, bool initialize) in HandleProcessStateChange() argument
410 RNBContext& ctx = remote->Context(); in HandleProcessStateChange()
449 remote->FlushSTDIO(); in HandleProcessStateChange()
459 remote->NotifyThatProcessStopped (); in HandleProcessStateChange()
474 remote->HandlePacket_last_signal(NULL); in HandleProcessStateChange()
488 RNBRunLoopInferiorExecuting (RNBRemote *remote) in RNBRunLoopInferiorExecuting() argument
491 RNBContext& ctx = remote->Context(); in RNBRunLoopInferiorExecuting()
494 RNBRunLoopMode mode = HandleProcessStateChange (remote, true); in RNBRunLoopInferiorExecuting()
523 remote->FlushSTDIO(); in RNBRunLoopInferiorExecuting()
528 remote->SendAsyncProfileData(); in RNBRunLoopInferiorExecuting()
539 if (remote->HandleAsyncPacket() == rnb_not_connected) in RNBRunLoopInferiorExecuting()
546 if (remote->HandleReceivedPacket() == rnb_not_connected) in RNBRunLoopInferiorExecuting()
555 mode = HandleProcessStateChange (remote, false); in RNBRunLoopInferiorExecuting()
595 RNBRunLoopPlatform (RNBRemote *remote) in RNBRunLoopPlatform() argument
598 RNBContext& ctx = remote->Context(); in RNBRunLoopPlatform()
614 if (remote->HandleReceivedPacket() == rnb_not_connected) in RNBRunLoopPlatform()
688 StartListening (RNBRemote *remote, const char *listen_host, int listen_port, const char *unix_socke… in StartListening() argument
690 if (!remote->Comm().IsConnected()) in StartListening()
694 …if (remote->Comm().Listen(listen_host, listen_port, PortWasBoundCallback, unix_socket_name) != rnb… in StartListening()
701 remote->StartReadRemoteDataThread(); in StartListening()
818 RNBRemote *remote = g_remoteSP.get(); in main() local
819 if (remote == NULL) in main()
825 RNBContext& ctx = remote->Context(); in main()
1030 remote->SetUseNativeRegisters (true); in main()
1110 if (remote->Context().SetWorkingDirectory (working_dir.c_str()) == false) in main()
1117 remote->Initialize(); in main()
1264 if (!remote->Comm().IsConnected()) in main()
1266 if (remote->Comm().ConnectToService () != rnb_success) in main()
1279 remote->Comm().Write(applist_plist.c_str(), applist_plist.size()); in main()
1284 remote->Comm().Read(buf); in main()
1286 remote->Comm().Disconnect(false); in main()
1293 remote->StartReadRemoteDataThread(); in main()
1301 … if (!StartListening (remote, listen_host.c_str(), listen_port, unix_socket_name.c_str())) in main()
1306 if (remote->Comm().OpenFile (str)) in main()
1314 mode = RNBRunLoopGetStartModeFromRemote (remote); in main()
1369 mode = RNBRunLoopLaunchAttaching (remote, attach_pid, attached_pid); in main()
1372 const char *error_str = remote->Context().LaunchStatus().AsString(); in main()
1414 … if (!StartListening (remote, listen_host.c_str(), listen_port, unix_socket_name.c_str())) in main()
1419 if (remote->Comm().OpenFile (str)) in main()
1429 mode = RNBRunLoopLaunchInferior (remote, in main()
1439 … if (!StartListening (remote, listen_host.c_str(), listen_port, unix_socket_name.c_str())) in main()
1444 if (remote->Comm().OpenFile (str)) in main()
1453 const char *error_str = remote->Context().LaunchStatus().AsString(); in main()
1460 mode = RNBRunLoopInferiorExecuting(remote); in main()
1466 … if (!StartListening (remote, listen_host.c_str(), listen_port, unix_socket_name.c_str())) in main()
1471 if (remote->Comm().OpenFile (str)) in main()
1476 mode = RNBRunLoopPlatform (remote); in main()
1486 remote->StopReadRemoteDataThread (); in main()
1487 remote->Context().SetProcessID(INVALID_NUB_PROCESS); in main()