diff options
author | Nick Hudson <nick.hudson@dsl.pipex.com> | 2008-01-13 12:23:05 +0000 |
---|---|---|
committer | Nick Hudson <nick.hudson@dsl.pipex.com> | 2008-01-13 12:23:05 +0000 |
commit | 5ed10e6edfb4d4fd9c22201cc2ad9640c1c9e449 (patch) | |
tree | 434d3c841136bbf76cc3ad899f75bdf08ad2d0ff | |
parent | 5d3e4fe3042d2ed9eef3cf15087de897d3cfecb7 (diff) | |
download | gdb-5ed10e6edfb4d4fd9c22201cc2ad9640c1c9e449.zip gdb-5ed10e6edfb4d4fd9c22201cc2ad9640c1c9e449.tar.gz gdb-5ed10e6edfb4d4fd9c22201cc2ad9640c1c9e449.tar.bz2 |
* configure.ac: Check for void * as 3 argument of ptrace.
* configure: regenerate.
-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 |