diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/configure.ac | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 98c3f25..2e9e162 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com> + + * configure.ac: Check for void * as 3 argument of ptrace. + * configure: regenerate. + 2008-01-11 Markus Deuling <deuling@de.ibm.com> * alpha-tdep.c (alpha_heuristic_proc_start) diff --git a/gdb/configure b/gdb/configure index eb26064..e0f36b2 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 fe9564d..39246aa 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 |