Lines Matching defs:remote
75 static char *remote;
170 * remote target if we have one.
173 if (remote != NULL)
174 push_remote_target (remote, 0);
264 * What we do is to stat(2) the existing remote target first. If that
276 if (stat(remote, &st) != 0) {
277 snprintf(path, sizeof(path), "/dev/%s", remote);
280 free(remote);
281 remote = strdup(path);
284 errx(1, "%s: not a special file, FIFO or socket", remote);
381 case 'r': /* use given device for remote session. */
382 if (remote != NULL) {
388 remote = strdup(optarg);
403 ((remote != NULL) ? 1 : 0) > 1) {
415 if (argc > optind && (dumpnr >= 0 || remote != NULL)) {
427 } else if (remote != NULL) {
442 if (remote != NULL)
443 warnx("device file: %s", remote);
448 /* A remote target requires an explicit kernel argument. */
449 if (remote != NULL && kernel == NULL) {
450 warnx("remote debugging requires a kernel");