This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch, Aix 5.1 ptrace64 build failure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]