* hostio.c: Don't include errno.h.
[deliverable/binutils-gdb.git] / gdb / gdbserver / configure.srv
index 24ee308977689fc23351c18d212032453a730110..b57c8a50ce15187b766235672299012563303c04 100644 (file)
@@ -6,6 +6,8 @@
 #   srv_regobj         The register protocol appropriate for this target.
 #   srv_tgtobj         Any other target-specific modules appropriate
 #                      for this target.
+#   srv_hostio_err     The object implementing the hostio_last_error
+#                      target method.
 #   srv_xmltarget      The XML source file to use for target.xml, if any.
 #   srv_xmlfiles       Any other XML files which should be available for
 #                      gdbserver in this configuration.
@@ -18,6 +20,9 @@
 #   srv_linux_usrregs  Set to "yes" if we can get at registers via
 #                      PTRACE_PEEKUSR / PTRACE_POKEUSR.
 
+# Default hostio_last_error implementation
+srv_hostio_err_objs="hostio-errno.o"
+
 # Input is taken from the "${target}" variable.
 
 case "${target}" in
@@ -36,6 +41,8 @@ case "${target}" in
   arm*-*-mingw32ce*)   srv_regobj=reg-arm.o
                        srv_tgtobj="win32-low.o win32-arm-low.o"
                        srv_tgtobj="${srv_tgtobj} wincecompat.o"
+                       # hostio_last_error implementation is in win32-low.c
+                       srv_hostio_err_objs=""
                        srv_mingw=yes
                        srv_mingwce=yes
                        ;;
This page took 0.024893 seconds and 4 git commands to generate.