< prev index next >

src/jdk.hotspot.agent/macosx/native/libsaproc/libproc.h

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 57,79 **** #else // __APPLE__ #include <elf.h> #include <link.h> #include <machine/reg.h> #include <proc_service.h> - #if defined(sparc) || defined(sparcv9) - /* - If _LP64 is defined ptrace.h should be taken from /usr/include/asm-sparc64 - otherwise it should be from /usr/include/asm-sparc - These two files define pt_regs structure differently - */ - #ifdef _LP64 - #include "asm-sparc64/ptrace.h" - #else - #include "asm-sparc/ptrace.h" - #endif - - #endif //sparc or sparcv9 // This C bool type must be int for compatibility with BSD calls and // it would be a mistake to equivalence it to C++ bool on many platforms typedef int bool; #define true 1 --- 57,66 ----
< prev index next >