Document the GDB 9.2 release in gdb/ChangeLog
[deliverable/binutils-gdb.git] / gdb / ptrace.m4
index 89591d4b670e9cc5ec248e0765ff2b8336f3cf10..0fcd855aa8fd44f9614b0aced6f7649af733060e 100644 (file)
@@ -1,4 +1,4 @@
-dnl Copyright (C) 2012-2016 Free Software Foundation, Inc.
+dnl Copyright (C) 2012-2020 Free Software Foundation, Inc.
 dnl
 dnl This file is part of GDB.
 dnl
@@ -31,11 +31,7 @@ gdb_ptrace_headers='
 # include <unistd.h>
 #endif
 '
-# There is no point in checking if we don't have a prototype.
-AC_CHECK_DECLS(ptrace, [], [
-  : ${gdb_cv_func_ptrace_ret='int'}
-  : ${gdb_cv_func_ptrace_args='int,int,long,long'}
-], $gdb_ptrace_headers)
+
 # Check return type.  Varargs (used on GNU/Linux) conflict with the
 # empty argument list, so check for that explicitly.
 AC_CACHE_CHECK([return type of ptrace], gdb_cv_func_ptrace_ret,
This page took 0.029114 seconds and 4 git commands to generate.