From 5ed10e6edfb4d4fd9c22201cc2ad9640c1c9e449 Mon Sep 17 00:00:00 2001 From: Nick Hudson Date: Sun, 13 Jan 2008 12:23:05 +0000 Subject: [PATCH] * configure.ac: Check for void * as 3 argument of ptrace. * configure: regenerate. --- gdb/ChangeLog | 5 +++++ gdb/configure | 2 +- gdb/configure.ac | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 98c3f25fc2d..2e9e1626501 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-01-13 Nick Hudson + + * configure.ac: Check for void * as 3 argument of ptrace. + * configure: regenerate. + 2008-01-11 Markus Deuling * alpha-tdep.c (alpha_heuristic_proc_start) diff --git a/gdb/configure b/gdb/configure index eb26064d55a..e0f36b23f48 100755 --- a/gdb/configure +++ b/gdb/configure @@ -19275,7 +19275,7 @@ else for gdb_arg1 in 'int' 'long'; do for gdb_arg2 in 'pid_t' 'int' 'long'; do - for gdb_arg3 in 'int *' 'caddr_t' 'int' 'long'; do + for gdb_arg3 in 'int *' 'caddr_t' 'int' 'long' 'void *'; do for gdb_arg4 in 'int' 'long'; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ diff --git a/gdb/configure.ac b/gdb/configure.ac index fe9564deef8..39246aab825 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -640,7 +640,7 @@ AC_DEFINE_UNQUOTED(PTRACE_TYPE_RET, $gdb_cv_func_ptrace_ret, AC_CACHE_CHECK([types of arguments for ptrace], gdb_cv_func_ptrace_args, [ for gdb_arg1 in 'int' 'long'; do for gdb_arg2 in 'pid_t' 'int' 'long'; do - for gdb_arg3 in 'int *' 'caddr_t' 'int' 'long'; do + for gdb_arg3 in 'int *' 'caddr_t' 'int' 'long' 'void *'; do for gdb_arg4 in 'int' 'long'; do AC_TRY_COMPILE($gdb_ptrace_headers, [ extern $gdb_cv_func_ptrace_ret -- 2.30.2