From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2817 invoked by alias); 9 Aug 2004 07:19:59 -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 2804 invoked from network); 9 Aug 2004 07:19:57 -0000 Received: from unknown (HELO tisch.mail.mindspring.net) (207.69.200.157) by sourceware.org with SMTP; 9 Aug 2004 07:19:57 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by tisch.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1Bu4Rn-0001rY-00; Mon, 09 Aug 2004 03:19:55 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id B56794B102; Mon, 9 Aug 2004 03:20:03 -0400 (EDT) Date: Mon, 09 Aug 2004 07:19:00 -0000 From: Michael Chastain To: kettenis@chello.nl Subject: Re: ptrace(2) autoconf tests Cc: gdb@sources.redhat.com Message-ID: <411725A3.nailSD51P54K@mindspring.com> References: <200408082100.i78L0BdZ005809@elgar.kettenis.dyndns.org> <41169E38.nail4UJ11C6PT@mindspring.com> <200408090046.i790kqgh057267@elgar.kettenis.dyndns.org> In-Reply-To: <200408090046.i790kqgh057267@elgar.kettenis.dyndns.org> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00132.txt.bz2 Mark Kettenis wrote: > Ah, smart. I signed myself up again. The missing prototype on Tru64 > is suspicious; is the return value really `int'? Current GDB code > seems to suggest it isn't. The man page says 'int'. I did: cd /usr/include grep ptrace `find * -type -f print` And I did: echo '#include ' > ptrace.c echo '#include ' >> ptrace.c cc -E ptrace.c > z1.out /usr/local/bin/gcc -E ptrace.c > z2.out No prototype in sight. All this on spe147.testdrive.hp.com, Michael C