diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-12-16 21:50:05 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-12-16 21:50:05 +0000 |
commit | 4e799345942e3d777a2639a00892b67d084204c5 (patch) | |
tree | b6014f5c354d47a513c01b20881b92c31490e414 /gdb/gdbserver/configure.ac | |
parent | c244f7a6ffdc6e369f271b3a2284a6e364a1cb0b (diff) | |
download | gdb-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.ac | 2 |
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) |