aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'gdbsupport/configure.ac')
-rw-r--r--gdbsupport/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbsupport/configure.ac b/gdbsupport/configure.ac
index 1dfed3c..af14d7b 100644
--- a/gdbsupport/configure.ac
+++ b/gdbsupport/configure.ac
@@ -45,6 +45,9 @@ GDB_AC_COMMON
GDB_AC_SELFTEST
AM_CONDITIONAL(SELFTEST, $enable_unittests)
+# Check the return and argument types of ptrace.
+GDB_AC_PTRACE
+
TARGET_WORD_SIZE=`sed -n 's,#define BFD_ARCH_SIZE \(.*\)$,\1,p' ../bfd/bfd-in3.h`
AC_DEFINE_UNQUOTED(TARGET_WORD_SIZE, $TARGET_WORD_SIZE,
[Define to the word size for the target.])