Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
df8a5db9
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
df8a5db9
编写于
1月 20, 2015
作者:
D
ddehaven
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
70c5ce63
45977ead
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
23 addition
and
15 deletion
+23
-15
agent/src/os/bsd/MacosxDebuggerLocal.m
agent/src/os/bsd/MacosxDebuggerLocal.m
+2
-2
agent/src/os/bsd/Makefile
agent/src/os/bsd/Makefile
+3
-3
make/bsd/makefiles/saproc.make
make/bsd/makefiles/saproc.make
+18
-10
未找到文件。
agent/src/os/bsd/MacosxDebuggerLocal.m
浏览文件 @
df8a5db9
/*
*
Copyright
(
c
)
2002
,
201
3
,
Oracle
and
/
or
its
affiliates
.
All
rights
reserved
.
*
Copyright
(
c
)
2002
,
201
5
,
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
...
...
@@ -26,7 +26,7 @@
#import
<
Foundation
/
Foundation
.
h
>
#import
<
JavaNativeFoundation
/
JavaNativeFoundation
.
h
>
#include
<
JavaVM
/
jni
.
h
>
#include
<
jni
.
h
>
#import
<
mach
/
mach
.
h
>
#import
<
mach
/
mach
_
types
.
h
>
...
...
agent/src/os/bsd/Makefile
浏览文件 @
df8a5db9
#
# Copyright (c) 2002, 201
3
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2002, 201
5
, 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
...
...
@@ -50,9 +50,9 @@ SOURCES = symtab.c \
ps_core.c
OBJS
=
$(SOURCES:.c=.o)
OBJSPLUS
=
MacosxDebuggerLocal.o sadis.o
$(OBJS)
EXTINCLUDE
=
-I
/System/Library/Frameworks/JavaVM.framework/Headers
-I
.
EXTINCLUDE
=
-I
.
EXTCFLAGS
=
-m64
-D__APPLE__
-framework
JavaNativeFoundation
FOUNDATIONFLAGS
=
-framework
Foundation
-
F
/System/Library/Frameworks/JavaVM.framework/Frameworks
-
framework
JavaNativeFoundation
-framework
Security
-framework
CoreFoundation
FOUNDATIONFLAGS
=
-framework
Foundation
-framework
JavaNativeFoundation
-framework
Security
-framework
CoreFoundation
LIBSA
=
$(ARCH)
/libsaproc.dylib
endif
# Darwin
...
...
make/bsd/makefiles/saproc.make
浏览文件 @
df8a5db9
#
# Copyright (c) 2005, 201
3
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2005, 201
5
, 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
...
...
@@ -64,9 +64,22 @@ ifeq ($(OS_VENDOR), FreeBSD)
else
ifeq
($(OS_VENDOR), Darwin)
SASRCFILES
=
$(DARWIN_NON_STUB_SASRCFILES)
SALIBS
=
-g
-framework
Foundation
-F
/System/Library/Frameworks/JavaVM.framework/Frameworks
-framework
JavaNativeFoundation
-framework
Security
-framework
CoreFoundation
SALIBS
=
-g
\
-framework
Foundation
\
-framework
JavaNativeFoundation
\
-framework
Security
\
-framework
CoreFoundation
#objc compiler blows up on -march=i586, perhaps it should not be included in the macosx intel 32-bit C++ compiles?
SAARCH
=
$(
subst
-march
=
i586,,
$(ARCHFLAG)
)
# This is needed to locate JavaNativeFoundation.framework
# JDK 8 doesn't have SYSROOT_CFLAGS, so we'll cobble it together here
SA_SYSROOT_FLAGS
=
ifneq
($(SDKPATH),)
SA_SYSROOT_FLAGS
+=
-isysroot
"
$(SDKPATH)
"
-iframework
"
$(SDKPATH)
/System/Library/Frameworks"
endif
# always needed, even if SDKPATH is empty
SA_SYSROOT_FLAGS
+=
-F
"
$(SDKPATH)
/System/Library/Frameworks/JavaVM.framework/Frameworks"
else
SASRCFILES
=
$(SASRCDIR)
/StubDebuggerLocal.c
SALIBS
=
...
...
@@ -100,14 +113,8 @@ SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE))
endif
SA_LFLAGS
+=
$(LDFLAGS_HASH_STYLE)
ifeq
($(OS_VENDOR), Darwin)
BOOT_JAVA_INCLUDES
=
-I
$(BOOT_JAVA_HOME)
/include
\
-I
$(BOOT_JAVA_HOME)
/include/
$(
shell
uname
-s
|
tr
"[:upper:]"
"[:lower:]"
)
\
-I
/System/Library/Frameworks/JavaVM.framework/Headers
else
BOOT_JAVA_INCLUDES
=
-I
$(BOOT_JAVA_HOME)
/include
\
-I
$(BOOT_JAVA_HOME)
/include/
$(
shell
uname
-s
|
tr
"[:upper:]"
"[:lower:]"
)
endif
BOOT_JAVA_INCLUDES
=
-I
$(BOOT_JAVA_HOME)
/include
\
-I
$(BOOT_JAVA_HOME)
/include/
$(
shell
uname
-s
|
tr
"[:upper:]"
"[:lower:]"
)
$(LIBSAPROC)
:
$(SASRCFILES) $(SAMAPFILE)
$(QUIETLY)
if
[
"
$(BOOT_JAVA_HOME)
"
=
""
]
;
then
\
...
...
@@ -116,6 +123,7 @@ $(LIBSAPROC): $(SASRCFILES) $(SAMAPFILE)
fi
@
echo
Making SA debugger back-end...
$(QUIETLY)
$(CC)
-D
$(BUILDARCH)
-D_GNU_SOURCE
\
$(SA_SYSROOT_FLAGS)
\
$(SYMFLAG)
$(SAARCH)
$(SHARED_FLAG)
$(PICFLAG)
\
-I
$(SASRCDIR)
\
-I
$(GENERATED)
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录