diff options
author | Pedro Alves <palves@redhat.com> | 2015-07-24 14:57:19 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-07-24 14:57:19 +0100 |
commit | eb7aa56163cc15bb732aa3b07966103fd6940d50 (patch) | |
tree | c74c84c1a5bcce3a18cbd5986e7987f48c9f8ac3 /gdb/gdbserver/configure.ac | |
parent | 55d7b841962c6e054735acdca2e0bb485afa0144 (diff) | |
download | gdb-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.ac | 3 |
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="" |