aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure.ac
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-07-24 14:57:19 +0100
committerPedro Alves <palves@redhat.com>2015-07-24 14:57:19 +0100
commiteb7aa56163cc15bb732aa3b07966103fd6940d50 (patch)
treec74c84c1a5bcce3a18cbd5986e7987f48c9f8ac3 /gdb/gdbserver/configure.ac
parent55d7b841962c6e054735acdca2e0bb485afa0144 (diff)
downloadgdb-eb7aa56163cc15bb732aa3b07966103fd6940d50.zip
gdb-eb7aa56163cc15bb732aa3b07966103fd6940d50.tar.gz
gdb-eb7aa56163cc15bb732aa3b07966103fd6940d50.tar.bz2
make gdbserver use the same ptrace autoconf checks as gdb
This factors the ptrace checks out of gdb's configure.ac to a new ptrace.m4 file, and then makes gdbserver's configure.ac source it too. gdb/ChangeLog: 2015-07-24 Pedro Alves <palves@redhat.com> * acinclude.m4: Include ptrace.m4. * configure.ac: Call GDB_AC_PTRACE and move ptrace checks ... * ptrace.m4: ... to this new file. gdb/gdbserver/ChangeLog: 2015-07-24 Pedro Alves <palves@redhat.com> * acinclude.m4: Include ../ptrace.m4. * configure.ac: Call GDB_AC_PTRACE. * config.in, configure: Regenerate.
Diffstat (limited to 'gdb/gdbserver/configure.ac')
-rw-r--r--gdb/gdbserver/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac
index b465c43..0fe0a35 100644
--- a/gdb/gdbserver/configure.ac
+++ b/gdb/gdbserver/configure.ac
@@ -98,6 +98,9 @@ AC_CHECK_FUNCS(getauxval pread pwrite pread64 setns)
GDB_AC_COMMON
+# Check the return and argument types of ptrace.
+GDB_AC_PTRACE
+
# Check for UST
ustlibs=""
ustinc=""