From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3092 invoked by alias); 8 Aug 2004 21:00: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 2930 invoked from network); 8 Aug 2004 21:00:12 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.77.109) by sourceware.org with SMTP; 8 Aug 2004 21:00:12 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i78L0Boa004219 for ; Sun, 8 Aug 2004 23:00:11 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i78L0BKv005812 for ; Sun, 8 Aug 2004 23:00:11 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id i78L0BdZ005809; Sun, 8 Aug 2004 23:00:11 +0200 (CEST) Date: Sun, 08 Aug 2004 21:00:00 -0000 Message-Id: <200408082100.i78L0BdZ005809@elgar.kettenis.dyndns.org> From: Mark Kettenis To: gdb@sources.redhat.com Subject: ptrace(2) autoconf tests X-SW-Source: 2004-08/txt/msg00124.txt.bz2 FYI, I'm working on ptrace(2) autoconf tests. I think I've got a real nifty way to find the correct one. It'd be great though if people could post the ptrace prototypes from the headers on their systems. You can find them in , or . Thus far I've got: Ancient UNIX int ptrace (int, int, int *, int); BSD int ptrace (int, pid_t, caddr_t, int); GNU/Linux long int ptrace (enum __request, ...); HP-UX 11.00 (32-bit) int ptrace (int, pid_t, int, int, int); HP-UX 11.00 (64-bit) long ptrace (int, pid_t, long, long, long); Solaris 2.9 long ptrace (int, pid_t, long, long); and AIX 5.2L int ptrace (int, int, int *, int, int *); Tru64 5.1A int ptrace (long, long int, ulong_t *, ulong_t); The latter two are snatched from the manual pages. I'd like to verify them against the header files. Cheers, Mark