From 4e799345942e3d777a2639a00892b67d084204c5 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 16 Dec 2007 21:50:05 +0000 Subject: * 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. --- gdb/gdbserver/configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/gdbserver/configure') diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 0b5ed9d..b8b2879 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -3099,7 +3099,9 @@ fi done -for ac_func in pread64 + + +for ac_func in pread pwrite pread64 do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 -- cgit v1.1