Mercurial > hg > truffle
comparison agent/src/os/linux/libproc.h @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | abec000618bf |
children | 89152779163c |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
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) || defined(ppc64) | 83 #if defined(sparc) || defined(sparcv9) |
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 |