From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32691 invoked by alias); 3 Sep 2004 15:07:41 -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 32684 invoked from network); 3 Sep 2004 15:07:40 -0000 Received: from unknown (HELO server7.nfra.nl) (192.87.1.57) by sourceware.org with SMTP; 3 Sep 2004 15:07:40 -0000 Received: from juw15.nfra.nl [10.87.8.15] by server7.nfra.nl; Fri, 03 Sep 2004 17:08:04 +0200 Received: from juw15.nfra.nl (localhost [127.0.0.1]) by juw15.nfra.nl (8.12.2+Sun/8.11.1) with ESMTP id i83F7OCu007596; Fri, 3 Sep 2004 17:07:24 +0200 (CEST) Received: (from kettenis@localhost) by juw15.nfra.nl (8.12.2+Sun/8.12.2/Submit) id i83F7O49007593; Fri, 3 Sep 2004 17:07:24 +0200 (CEST) Date: Fri, 03 Sep 2004 15:07:00 -0000 Message-Id: <200409031507.i83F7O49007593@juw15.nfra.nl> From: Mark Kettenis To: brobecker@gnat.com CC: gdb-patches@sources.redhat.com In-reply-to: <20040901203048.GF978@gnat.com> (message from Joel Brobecker on Wed, 1 Sep 2004 13:30:48 -0700) Subject: Re: [RFA] PTRACE_ARG3_TYPE cleanup References: <20040901203048.GF978@gnat.com> X-SW-Source: 2004-09/txt/msg00053.txt.bz2 Date: Wed, 1 Sep 2004 13:30:48 -0700 From: Joel Brobecker Removing some #defines that are no longer necessary, thanks to inferior.h and configure: #ifndef PTRACE_ARG3_TYPE #define PTRACE_ARG3_TYPE PTRACE_TYPE_ARG3 #endif (PTRACE_TYPE_ARG3 is set to the right type by configure). 2004-09-01 Joel Brobecker * config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define. * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): Likewise. * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise. Tested on alpha-tru64 5.1a, pa-hpux 11.00, and ppc-aix 5.1. OK to apply? Unfortunately not. The HP-UX changes aren't correct, because of the pretend-that-ttrace-is-ptrace maddness in the HP-UX-specific files. I haven't found the time to sort that out properly yet :-(. The OSF/1 and AIX changes are OK though. Mark