aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure.ac
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/configure.ac
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/configure.ac')
-rw-r--r--gdb/gdbserver/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac
index 4e94f31..819fead 100644
--- a/gdb/gdbserver/configure.ac
+++ b/gdb/gdbserver/configure.ac
@@ -41,7 +41,7 @@ AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl
errno.h fcntl.h signal.h sys/file.h malloc.h dnl
sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl
netinet/tcp.h arpa/inet.h sys/wait.h)
-AC_CHECK_FUNCS(pread64)
+AC_CHECK_FUNCS(pread pwrite pread64)
have_errno=no
AC_MSG_CHECKING(for errno)