From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24707 invoked by alias); 20 Mar 2002 21:18: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 24494 invoked from network); 20 Mar 2002 21:18:31 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 20 Mar 2002 21:18:31 -0000 Received: from cse.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id NAA23203; Wed, 20 Mar 2002 13:18:28 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.11.6/8.11.6) id g2KLII718873; Wed, 20 Mar 2002 14:18:18 -0700 Date: Wed, 20 Mar 2002 13:18:00 -0000 From: Kevin Buettner Message-Id: <1020320211818.ZM18872@localhost.localdomain> In-Reply-To: Tom Rix "patch, Aix 5.1 ptrace64 build failure" (Mar 18, 2:31pm) References: <3C964E94.87B514CF@redhat.com> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: Tom Rix , gdb-patches@sources.redhat.com Subject: Re: patch, Aix 5.1 ptrace64 build failure Cc: kevinb@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-03/txt/msg00393.txt.bz2 On Mar 18, 2:31pm, Tom Rix wrote: > Gdb fails to build on AIX 5.1 because the system has already defined > ptrace64. > > This patch prefixes the rs6000-nat.c ptrace32 and ptrace64 functions > with gdb_rs6000_ to fix this problem. > > Ok to commit? Yes, approved. The only thing I want you to change is the ChangeLog entry... > 2002-03-18 Tom Rix > > * rs6000-nat.c: Replace ptrace[32|64] with gdb_rs6000_ptrace[32|64]. Please spell out ptrace32() and ptrace64() instead of using ptrace[32|64]. (Likewise for gdb_rs6000_ptrace32() and gdb_rs6000_ptrace64().) The reason for this is so that a grep for ptrace32 (or one of the other strings) in the ChangeLogs will turn up these entries. Thanks, Kevin