From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3217 invoked by alias); 10 Aug 2004 19:03:07 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3205 invoked from network); 10 Aug 2004 19:03:05 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 10 Aug 2004 19:03:05 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 1005E47D91; Tue, 10 Aug 2004 12:03:05 -0700 (PDT) Date: Tue, 10 Aug 2004 19:03:00 -0000 From: Joel Brobecker To: Mark Kettenis Cc: gdb@sources.redhat.com Subject: Re: ptrace(2) autoconf tests Message-ID: <20040810190305.GX1192@gnat.com> References: <200408082100.i78L0BdZ005809@elgar.kettenis.dyndns.org> <20040809053715.GK1192@gnat.com> <200408092152.i79LqnNb059801@elgar.kettenis.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408092152.i79LqnNb059801@elgar.kettenis.dyndns.org> User-Agent: Mutt/1.4i X-SW-Source: 2004-08/txt/msg00152.txt.bz2 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 > > * infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5 > instead of FIVE_ARG_PTRACE. -- Joel