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,

> Can people test this on AIX and HP-UX 10.20?  I'm fairly certain this
> will work, but I can't really test this myself, until I find some
> 10.20 installation media for my 712.

I tested your patch below successfully on our 2 AIX systems (4.3.2 and
5.1). I also verified that configure found the right profile for ptrace
and that infptrace.c compiled without any warning.

About configure finding the right profile, there is one thing I am not
sure about: The second parameter reported by configure is pid_t, while
the include file seem to be saying that it's an int on 4.3.2 and a
signed long on 5.1. There were no warnings during the build, so I
assumed all was right.

> Index: ChangeLog
> from  Mark Kettenis  <kettenis@gnu.org>
>  
> 	* infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5
> 	instead of FIVE_ARG_PTRACE.

-- 
Joel


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