This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]