From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15312 invoked by alias); 9 Aug 2004 05:37:17 -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 15305 invoked from network); 9 Aug 2004 05:37:16 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 9 Aug 2004 05:37:16 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 63EDE47D91; Sun, 8 Aug 2004 22:37:15 -0700 (PDT) Date: Mon, 09 Aug 2004 05:37:00 -0000 From: Joel Brobecker To: Mark Kettenis Cc: gdb@sources.redhat.com Subject: Re: ptrace(2) autoconf tests Message-ID: <20040809053715.GK1192@gnat.com> References: <200408082100.i78L0BdZ005809@elgar.kettenis.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408082100.i78L0BdZ005809@elgar.kettenis.dyndns.org> User-Agent: Mutt/1.4i X-SW-Source: 2004-08/txt/msg00131.txt.bz2 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