* [rfa] Check for void * as 3rd arg of ptrace
@ 2008-01-04 15:59 Nick Hudson
2008-01-13 10:43 ` Joel Brobecker
0 siblings, 1 reply; 3+ messages in thread
From: Nick Hudson @ 2008-01-04 15:59 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 97 bytes --]
Hi,
NetBSD killed caddr_t so ptrace now takes void * as it's third argument.
OK?
Thanks,
Nick
[-- Attachment #2: ChangeLog --]
[-- Type: text/plain, Size: 139 bytes --]
2008-01-04 Nick Hudson <nick.hudson@dsl.pipex.com>
* configure.ac: Check for void * as 3 argument of ptrace.
* configure: regenerate.
[-- Attachment #3: configure.diff --]
[-- Type: text/x-diff, Size: 1313 bytes --]
Index: configure
===================================================================
RCS file: /cvs/src/src/gdb/configure,v
retrieving revision 1.241
diff -u -p -u -r1.241 configure
--- configure 16 Dec 2007 22:19:20 -0000 1.241
+++ configure 4 Jan 2008 15:36:25 -0000
@@ -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. */
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/gdb/configure.ac,v
retrieving revision 1.63
diff -u -p -u -r1.63 configure.ac
--- configure.ac 16 Dec 2007 22:19:20 -0000 1.63
+++ configure.ac 4 Jan 2008 15:36:27 -0000
@@ -640,7 +640,7 @@ AC_DEFINE_UNQUOTED(PTRACE_TYPE_RET, $gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-13 12:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-04 15:59 [rfa] Check for void * as 3rd arg of ptrace Nick Hudson
2008-01-13 10:43 ` Joel Brobecker
2008-01-13 12:39 ` Nick Hudson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox