aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure
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
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')
-rwxr-xr-xgdb/gdbserver/configure4
1 files changed, 3 insertions, 1 deletions
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