diff --git a/gdb/remote.c b/gdb/remote.c index 41941ff69b..4878e5a923 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -182,7 +182,7 @@ static int timeout = 2; int icache; #endif -/* Descriptor for I/O to remote machine. Initialize it to -1 so that +/* Descriptor for I/O to remote machine. Initialize it to NULL so that remote_open knows that we don't have a file open when the program starts. */ serial_t remote_desc = NULL;