From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16157 invoked by alias); 8 Aug 2004 13:51:40 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 16150 invoked from network); 8 Aug 2004 13:51:39 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 8 Aug 2004 13:51:39 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i78DpYe3001998 for ; Sun, 8 Aug 2004 09:51:39 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i78DpWa28911; Sun, 8 Aug 2004 09:51:33 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id DDF362B9D; Sun, 8 Aug 2004 09:51:26 -0400 (EDT) Message-ID: <41162FDE.50809@gnu.org> Date: Sun, 08 Aug 2004 13:51:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040801 MIME-Version: 1.0 To: Mark Kettenis , brobecker@gnat.com Cc: gdb-patches@sources.redhat.com, cagney@redhat.com, Peter.Schauer@regent.e-technik.tu-muenchen.de, kevinb@redhat.com Subject: Re: [RFC/AIX] xm-aix4.h - Remove FIVE_ARG_PTRACE & USE_O_NOCTTY defines References: <20040808044944.GD24160@gnat.com> <200408081149.i78Bn73Q009793@elgar.kettenis.dyndns.org> In-Reply-To: <200408081149.i78Bn73Q009793@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00250.txt.bz2 > Date: Sat, 7 Aug 2004 21:49:44 -0700 > From: Joel Brobecker > > config/xm-aix4.h has the following definitions: > > | #define FIVE_ARG_PTRACE > > This one really belongs in a nm.h file. How about moving it to > rs6000/nm-rs6000.h. Joel's correct here. ptrace(), just like printf, "double", or , is just another host function that can, well at least in theory, be probed by autoconf. I'm just not sure how we can probe the attributes we need: FIVE_ARG_PTRACE, PTRACE_ARG3_TYPE, TRACE_XFER_TYPE, ... Andrew PS: nm*.h is also well on its way to the chopping block. It's contents have well and truely been reduced to a bunch of hacks that should be in the target/gdbarch vectors and/or autoconf.