Mercurial > hg > truffle
comparison agent/src/os/linux/libproc.h @ 14391:d2907f74462e
8016586: PPC64 (part 3): basic changes for PPC64
Summary: added #includes needed for ppc64 port. Renamed _MODEL_ppc to _MODEL_ppc_32 and renamed corresponding old _ppc files to _ppc_32.
Reviewed-by: dholmes, kvn
author | goetz |
---|---|
date | Thu, 20 Jun 2013 16:30:44 -0700 |
parents | 9fae07c31641 |
children | abec000618bf |
comparison
equal
deleted
inserted
replaced
14390:0f03ff49c720 | 14391:d2907f74462e |
---|---|
78 combination of ptrace and /proc calls. | 78 combination of ptrace and /proc calls. |
79 | 79 |
80 *************************************************************************************/ | 80 *************************************************************************************/ |
81 | 81 |
82 | 82 |
83 #if defined(sparc) || defined(sparcv9) | 83 #if defined(sparc) || defined(sparcv9) || defined(ppc64) |
84 #define user_regs_struct pt_regs | 84 #define user_regs_struct pt_regs |
85 #endif | 85 #endif |
86 | 86 |
87 // This C bool type must be int for compatibility with Linux calls and | 87 // This C bool type must be int for compatibility with Linux calls and |
88 // it would be a mistake to equivalence it to C++ bool on many platforms | 88 // it would be a mistake to equivalence it to C++ bool on many platforms |