Lines Matching full:remote
59 // Get our program path and arguments from the remote connection.
60 // We will need to start up the remote connection without a PID, get the
67 RNBRemote *remote = remoteSP.get(); in RNBRunLoopGetStartModeFromRemote() local
68 RNBContext &ctx = remote->Context(); in RNBRunLoopGetStartModeFromRemote()
85 err = remote->HandleReceivedPacket(&type); in RNBRunLoopGetStartModeFromRemote()
104 // a catch all for any other gdb remote packets that failed in RNBRunLoopGetStartModeFromRemote()
143 RNBRunLoopMode HandleProcessStateChange(RNBRemoteSP &remote, bool initialize) { in HandleProcessStateChange() argument
144 RNBContext &ctx = remote->Context(); in HandleProcessStateChange()
155 "%s (&remote, initialize=%i) pid_state = %s", __FUNCTION__, in HandleProcessStateChange()
179 remote->FlushSTDIO(); in HandleProcessStateChange()
183 LOG_RNB_MINIMAL, "%s (&remote, initialize=%i) pid_state = %s " in HandleProcessStateChange()
191 LOG_RNB_MINIMAL, "%s (&remote, initialize=%i) pid_state = %s " in HandleProcessStateChange()
195 remote->NotifyThatProcessStopped(); in HandleProcessStateChange()
198 DNBLogThreadedIf(LOG_RNB_MINIMAL, "%s (&remote, initialize=%i) " in HandleProcessStateChange()
213 remote->HandlePacket_last_signal(NULL); in HandleProcessStateChange()
223 // we are waiting for gdb remote protocol packets. When a packet occurs that
226 RNBRunLoopMode RNBRunLoopInferiorExecuting(RNBRemoteSP &remote) { in RNBRunLoopInferiorExecuting() argument
228 RNBContext &ctx = remote->Context(); in RNBRunLoopInferiorExecuting()
231 RNBRunLoopMode mode = HandleProcessStateChange(remote, true); in RNBRunLoopInferiorExecuting()
261 remote->FlushSTDIO(); in RNBRunLoopInferiorExecuting()
270 if (remote->HandleAsyncPacket() == rnb_not_connected) { in RNBRunLoopInferiorExecuting()
274 if (remote->HandleReceivedPacket() == rnb_not_connected) { in RNBRunLoopInferiorExecuting()
281 mode = HandleProcessStateChange(remote, false); in RNBRunLoopInferiorExecuting()
291 // Out remote packet receiving thread exited, exit for now. in RNBRunLoopInferiorExecuting()
337 RNBRemote *remote = g_remoteSP.get(); in debug_server_main() local
338 if (remote == NULL) { in debug_server_main()
339 RNBLogSTDERR("error: failed to create a remote connection class\n"); in debug_server_main()
349 RNBLogSTDOUT("Starting remote data thread.\n"); in debug_server_main()
352 RNBLogSTDOUT("Waiting for start mode from remote.\n"); in debug_server_main()