This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
ptrace(2) autoconf tests
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb at sources dot redhat dot com
- Date: Sun, 8 Aug 2004 23:00:11 +0200 (CEST)
- Subject: ptrace(2) autoconf tests
FYI,
I'm working on ptrace(2) autoconf tests. I think I've got a real
nifty way to find the correct one. It'd be great though if people
could post the ptrace prototypes from the headers on their systems.
You can find them in <sys/ptrace.h>, <unistd.h> or <ptrace.h>. Thus
far I've got:
Ancient UNIX int ptrace (int, int, int *, int);
BSD int ptrace (int, pid_t, caddr_t, int);
GNU/Linux long int ptrace (enum __request, ...);
HP-UX 11.00 (32-bit) int ptrace (int, pid_t, int, int, int);
HP-UX 11.00 (64-bit) long ptrace (int, pid_t, long, long, long);
Solaris 2.9 long ptrace (int, pid_t, long, long);
and
AIX 5.2L int ptrace (int, int, int *, int, int *);
Tru64 5.1A int ptrace (long, long int, ulong_t *, ulong_t);
The latter two are snatched from the manual pages. I'd like to verify
them against the header files.
Cheers,
Mark