diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2004-09-03 07:11:42 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2004-09-03 07:11:42 +0000 |
| commit | f52501ba8cc7322fbf93a38bca178b049c51427b (patch) | |
| tree | 186c4ec2588e36ba92d2cdbbdaa3caeb1d009d72 | |
| parent | 46e7a66ba00f5b9d92bd0b2617007840d2dd6d86 (diff) | |
Notes
| -rw-r--r-- | gnu/usr.bin/gdb/kgdb/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/kgdb/main.c b/gnu/usr.bin/gdb/kgdb/main.c index 3209fc904064..30dd6a8e007f 100644 --- a/gnu/usr.bin/gdb/kgdb/main.c +++ b/gnu/usr.bin/gdb/kgdb/main.c @@ -284,7 +284,7 @@ main(int argc, char *argv[]) if (!S_ISREG(st.st_mode)) errx(1, "%s: not a regular file", path); vmcore = strdup(path); - } else if (remote != NULL) { + } else if (remote != NULL && remote[0] != ':' && remote[0] != '|') { if (stat(remote, &st) != 0) { snprintf(path, sizeof(path), "/dev/%s", remote); if (stat(path, &st) != 0) { |
