File I/O file handles after target closes
[deliverable/binutils-gdb.git] / gdb / remote.c
index a46f1f8ddbe15232492928c45f53ef28562c8215..f54a38833b30d090d46b186a0481c4276011dddf 100644 (file)
@@ -11350,8 +11350,7 @@ remote_hostio_send_command (int command_bytes, int which_packet,
   int ret, bytes_read;
   char *attachment_tmp;
 
-  if (!rs->remote_desc
-      || packet_support (which_packet) == PACKET_DISABLE)
+  if (packet_support (which_packet) == PACKET_DISABLE)
     {
       *remote_errno = FILEIO_ENOSYS;
       return -1;
This page took 0.027109 seconds and 4 git commands to generate.