Re: ptrace(2) autoconf tests

Joel Brobecker
2004-08-09T05:37:17Z

Mark,

Thanks muchly for looking into this!

> AIX 5.2L int ptrace (int, int, int *, int, int *);

Here is the prototype from AIX 5.1:

int ptrace(int request, int32long64_t id, int *address,
int data, int *buffer);

were int32long64_t is defined as "signed long". I checked the manpage,
and indeed, they say the second parameter is an int! I looked at the
autoconf test you wrote, and it seems that it would handle the AIX case
very well.

--
Joel