Lines Matching defs: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();
68 RNBContext &ctx = remote->Context();
85 err = remote->HandleReceivedPacket(&type);
104 // a catch all for any other gdb remote packets that failed
143 RNBRunLoopMode HandleProcessStateChange(RNBRemoteSP &remote, bool initialize) {
144 RNBContext &ctx = remote->Context();
155 "%s (&remote, initialize=%i) pid_state = %s", __FUNCTION__,
179 remote->FlushSTDIO();
183 LOG_RNB_MINIMAL, "%s (&remote, initialize=%i) pid_state = %s "
191 LOG_RNB_MINIMAL, "%s (&remote, initialize=%i) pid_state = %s "
195 remote->NotifyThatProcessStopped();
198 DNBLogThreadedIf(LOG_RNB_MINIMAL, "%s (&remote, initialize=%i) "
213 remote->HandlePacket_last_signal(NULL);
223 // we are waiting for gdb remote protocol packets. When a packet occurs that
226 RNBRunLoopMode RNBRunLoopInferiorExecuting(RNBRemoteSP &remote) {
228 RNBContext &ctx = remote->Context();
231 RNBRunLoopMode mode = HandleProcessStateChange(remote, true);
261 remote->FlushSTDIO();
270 if (remote->HandleAsyncPacket() == rnb_not_connected) {
274 if (remote->HandleReceivedPacket() == rnb_not_connected) {
281 mode = HandleProcessStateChange(remote, false);
291 // Out remote packet receiving thread exited, exit for now.
329 RNBRemote *remote = g_remoteSP.get();
330 if (remote == NULL) {
331 RNBLogSTDERR("error: failed to create a remote connection class\n");
341 RNBLogSTDOUT("Starting remote data thread.\n");
344 RNBLogSTDOUT("Waiting for start mode from remote.\n");