aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure.ac
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-09-19 14:41:50 +0000
committerDaniel Jacobowitz <drow@false.org>2007-09-19 14:41:50 +0000
commitfd462a61890aa2795a14d98339a4094f97ea7bdb (patch)
treeef49eac40e47dd40c6ce351e2021c97462ef43d2 /gdb/gdbserver/configure.ac
parenta69898aad0d92d44881d16b6d5d835c3af53b9c1 (diff)
downloadgdb-fd462a61890aa2795a14d98339a4094f97ea7bdb.zip
gdb-fd462a61890aa2795a14d98339a4094f97ea7bdb.tar.gz
gdb-fd462a61890aa2795a14d98339a4094f97ea7bdb.tar.bz2
* linux-low.c (O_LARGEFILE): Define.
(linux_read_memory): Use /proc/PID/mem. * configure.ac: Use AC_GNU_SOURCE. Check for pread64. * configure, config.in: Regenerated.
Diffstat (limited to 'gdb/gdbserver/configure.ac')
-rw-r--r--gdb/gdbserver/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac
index 8007e14..de996ba8 100644
--- a/gdb/gdbserver/configure.ac
+++ b/gdb/gdbserver/configure.ac
@@ -25,6 +25,7 @@ AC_INIT(server.c)
AC_CONFIG_HEADER(config.h:config.in)
AC_PROG_CC
+AC_GNU_SOURCE
AC_CANONICAL_SYSTEM
@@ -40,6 +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)
have_errno=no
AC_MSG_CHECKING(for errno)