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]

Re: ptrace(2) autoconf tests


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


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