This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: patch, Aix 5.1 ptrace64 build failure
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Tom Rix <trix at redhat dot com>, gdb-patches at sources dot redhat dot com
- Cc: kevinb at redhat dot com
- Date: Wed, 20 Mar 2002 14:18:18 -0700
- Subject: Re: patch, Aix 5.1 ptrace64 build failure
- References: <3C964E94.87B514CF@redhat.com>
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 <trix@redhat.com>
>
> * 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