* hostio.c: Don't include errno.h.
[deliverable/binutils-gdb.git] / gdb / gdbserver / target.h
index 4f6377d6fe05849cf9db748e93c4cc54aaab2188..8bb7a07b3d7ded469ad32e2f239e2e4930e31a3b 100644 (file)
@@ -188,6 +188,10 @@ struct target_ops
    /* Read/Write from/to spufs using qXfer packets.  */
   int (*qxfer_spu) (const char *annex, unsigned char *readbuf,
                    unsigned const char *writebuf, CORE_ADDR offset, int len);
+
+  /* Fill BUF with an hostio error packet representing the last hostio
+     error.  */
+  void (*hostio_last_error) (char *buf);
 };
 
 extern struct target_ops *the_target;
This page took 0.023998 seconds and 4 git commands to generate.