This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: ptrace(2) autoconf tests
- From: Joel Brobecker <brobecker at gnat dot com>
- To: Mark Kettenis <kettenis at chello dot nl>
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 8 Aug 2004 22:37:15 -0700
- Subject: Re: ptrace(2) autoconf tests
- References: <200408082100.i78L0BdZ005809@elgar.kettenis.dyndns.org>
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