Don't close thread handles provided by WaitForDebugEvent
[deliverable/binutils-gdb.git] / gdb / ptrace.m4
index 4cd7652718a97e5edaf0e34c57d624078b8afbbf..0fcd855aa8fd44f9614b0aced6f7649af733060e 100644 (file)
@@ -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.035094 seconds and 4 git commands to generate.