From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22731 invoked by alias); 11 Aug 2004 07:04:13 -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 22678 invoked from network); 11 Aug 2004 07:04:08 -0000 Received: from unknown (HELO amsfep12-int.chello.nl) (213.46.243.17) by sourceware.org with SMTP; 11 Aug 2004 07:04:08 -0000 Received: from localhost ([127.0.0.1]) by amsfep12-int.chello.nl (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with SMTP id <20040811070407.NKQI2608.amsfep12-int.chello.nl@localhost>; Wed, 11 Aug 2004 09:04:07 +0200 X-Originating-IP: [192.87.1.249] From: Reply-To: m.m.kettenis@chello.nl To: Joel Brobecker CC: Subject: Re: Re: ptrace(2) autoconf tests Date: Wed, 11 Aug 2004 07:04:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20040811070407.NKQI2608.amsfep12-int.chello.nl@localhost> X-SW-Source: 2004-08/txt/msg00163.txt.bz2 > van: Joel Brobecker > datum: 2004/08/10 di PM 09:03:05 MEST > 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. Most systems have `typedef int pid_t', and the compiler doesn't really distinguish between the two. Since I test for `pid_t' before `int', the detected signature is slightly of. But this doesn't matter precisely for that reason. So nothing to worry. Mark