aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/config.in
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-12-16 21:50:05 +0000
committerDaniel Jacobowitz <drow@false.org>2007-12-16 21:50:05 +0000
commit4e799345942e3d777a2639a00892b67d084204c5 (patch)
treeb6014f5c354d47a513c01b20881b92c31490e414 /gdb/gdbserver/config.in
parentc244f7a6ffdc6e369f271b3a2284a6e364a1cb0b (diff)
downloadgdb-4e799345942e3d777a2639a00892b67d084204c5.zip
gdb-4e799345942e3d777a2639a00892b67d084204c5.tar.gz
gdb-4e799345942e3d777a2639a00892b67d084204c5.tar.bz2
* configure.ac: Check for pread and pwrite.
* hostio.c (handle_pread): Fall back to lseek and read. (handle_pwrite): Fall back to lseek and write. * config.in, configure: Regenerated.
Diffstat (limited to 'gdb/gdbserver/config.in')
-rw-r--r--gdb/gdbserver/config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in
index 017a1ed..c666ab2 100644
--- a/gdb/gdbserver/config.in
+++ b/gdb/gdbserver/config.in
@@ -53,6 +53,9 @@
/* Define to 1 if you have the <netinet/tcp.h> header file. */
#undef HAVE_NETINET_TCP_H
+/* Define to 1 if you have the `pread' function. */
+#undef HAVE_PREAD
+
/* Define to 1 if you have the `pread64' function. */
#undef HAVE_PREAD64
@@ -72,6 +75,9 @@
/* Define if the target supports PTRACE_GETREGS for register access. */
#undef HAVE_PTRACE_GETREGS
+/* Define to 1 if you have the `pwrite' function. */
+#undef HAVE_PWRITE
+
/* Define to 1 if you have the <sgtty.h> header file. */
#undef HAVE_SGTTY_H