Index: gdb/gdbserver/hostio.h |
diff --git a/gdb/config/i386/nm-fbsd.h b/gdb/gdbserver/hostio.h |
similarity index 67% |
copy from gdb/config/i386/nm-fbsd.h |
copy to gdb/gdbserver/hostio.h |
index be1a67218885bac4657a8eeead90124567f6f288..802374cbdb456591890db679d4ed6715e82dc876 100644 |
--- a/gdb/config/i386/nm-fbsd.h |
+++ b/gdb/gdbserver/hostio.h |
@@ -1,7 +1,5 @@ |
-/* Native-dependent definitions for FreeBSD/i386. |
- |
- Copyright 1986-1987, 1989, 1992, 1994, 1996-1997, 2000-2001, |
- 2004-2005, 2007-2012 Free Software Foundation, Inc. |
+/* Host file transfer support for gdbserver. |
+ Copyright (C) 1993-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -18,11 +16,13 @@ |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
-#ifndef NM_FBSD_H |
-#define NM_FBSD_H |
+#ifndef HOSTIO_H |
+#define HOSTIO_H |
+ |
+/* Functions from hostio.c. */ |
+extern int handle_vFile (char *, int, int *); |
-#ifdef HAVE_SYS_PARAM_H |
-#include <sys/param.h> |
-#endif |
+/* Functions from hostio-errno.c. */ |
+extern void hostio_last_error_from_errno (char *own_buf); |
-#endif /* nm-fbsd.h */ |
+#endif /* HOSTIO_H */ |